Y r u praying in classroom?

In class room 1 boy was praying Allah Allah.

Teacher: y r u praying in classroom?

Boy: Mom advised me that
before sleeping u must pray Allah Allah