Abu Hurairah reported,

The Prophet ﷺ said, "Each one of you remains in a state of prayer as long as the prayer is what holds him in place, and the angels keep saying, 'Allah, forgive him and have mercy on him,' so long as he does not get up from his prayer place or break his ablution."

Bukhari 3229

Sahih

حدثنا إبراهيم بن المنذر حدثنا محمد بن فليح حدثنا أبي عن هلال بن علي عن عبد الرحمن بن أبي عمرة

عن أبي هريرة رضي الله عنه

عن النبي ﷺ قال إن أحدكم في صلاة ما دامت الصلاة تحبسه والملائكة تقول اللهم اغفر له وارحمه ما لم يقم من صلاته أو يحدث

البخاري 3229صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Beginning of creation
Chapter
If one of you says Ameen and the angels in heaven say it, and one coincides with the other, his previous sins will be forgiven
Numbering
Darussalam 3229
Bukhari 3229