The Messenger of Allah ﷺ said, "The angels continue to pray for one of you as long as he remains in the place where he prayed. They say, 'Allah, forgive him. Allah, have mercy on him,' so long as he does not break his ablution. And each of you is considered to be in prayer as long as the prayer is what keeps him waiting."
و حدثنا ابن أبي عمر حدثنا سفيان عن أيوب السختياني عن ابن سيرين
قال رسول الله ﷺ إن الملائكة تصلي على أحدكم ما دام في مجلسه تقول اللهم اغفر له اللهم ارحمه ما لم يحدث وأحدكم في صلاة ما كانت الصلاة تحبسه