It was narrated that Abu Hurairah said: "The Messenger of Allah P.B.U.H said: 'When one of you enters the Masjid, he is in a state
of prayer, so long as the prayer keeps him there, and the angels will send prayer upon anyone of you so long as he remains in the
place where he prayed, saying: "0 Allah, forgive him; 0 Allah, have mercy on him; 0 Allah, accept his repentance," so long as he does not commit Hadath nor disturb anyone.''' (Sahih)