"The Messenger of Allah said: 'When one of you enters the mosque, 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: "O Allah, forgive him; O Allah, have mercy on him; O Allah, accept his repentance," so long as he does not commit Hadath nor disturb anyone.'" (Using translation from Ibn Mājah 799)
"إِذا دَخَلَ أحَدُكم المسجِدَ كانَ في صلاة ما كانت الصلاةُ تَحْبِسُهُ، والملائكُة يصلون على أحدِكم ما دام في مجلِسهِ الذي صلى فيه، يقولون: اللهُمَ اغْفِرْ له، اللهمَّ ارحمه، اللهمّ تُبْ عليه، ما لَمْ يُؤذِ فيه، ما لمْ يُحدِثْ فيه".