Sahih Muslim Book 5 - Hadith 339-345
Chapter 49: The virtue of offering the obligatory prayers in congregation, the virtue of waiting for prayer and taking many steps towards the masjid, the virtue of walking to the masjid.
Abu Huraira reported Allah's Messenger (ﷺ) as saying:
A man's prayer in congregation is more valuable than twenty degrees and some above them as compared with his prayer in his house and his market, for when he performs ablution doing it well, then goes out to the mosque, and he is impelled (to do so) only by (the love of congregational) prayer, he has no other objective before him but prayer. He does not take a step without being raised a degree for it and having a sin remitted for it, till he enters the mosque, and when he is busy in prayer after having entered the mosque. the angels continue to invoke blessing on him as long as he is in his place of worship. saying: O Allah, show him mercy, and pardon him! Accept his repentance (and the angels continue this supplication for him) so long as he does not do any harm in it, or as long as his ablution is not broken. (Sahih Muslim Book 5 - Hadith 339)
A hadith having the same meaning (as mentioned above) has been transmitted by A'mash. (Sahih Muslim Book 5 - Hadith 340)
Abu Huraira reported Allah's Messenger (ﷺ) as saying:
The angels invoke blessings on everyone among you so long as he is in a place of worship with these words: O Allah! pardon him, O Allah, have mercy upon him, (and they continue to do so) as long as, his ablution (of the worshipper) is not broken, and one among you is in prayer and so long as he is detained for the prayer. (Sahih Muslim Book 5 - Hadith 341)
Abu Huraira reported Allah's Messenger (ﷺ) as saying:
The servant is constantly in prayer so long as he is in a place of worship waiting for the prayer (to be observed in congregation), and the angels invoke (blessings upon him in these words): O Allah! pardon him. O Allah! show mercy to him, (and they continue to do so) till he returns (from the mosque having completed the prayer) or his ablution breaks. I said: How is the ablution broken? He said: By breaking of the wind noiselessly or with noise. (Sahih Muslim Book 5 - Hadith 342)
Abu Huraira reported the Messenger of Allah (ﷺ) as saying:
Everyone among you is constantly in prayer so long as the prayer detains him (for this noble objective) and nothing prevents him to return to his family but the prayer. (Sahih Muslim Book 5 - Hadith 343)
Abu Huraira reported:
The Messenger of Allah (ﷺ) said: Anyone amongst you who sat in a place of worship waiting for the prayer is in prayer and his ablution is not broken, the angels invoke blessing upon him (in these words): O Allah! pardon him. O Allah! have mercy upon him. (Sahih Muslim Book 5 - Hadith 344)
A hadith like this has been narrated by Hammam b. Munabbih on the authority of Abu Huraira. (Sahih Muslim Book 5 - Hadith 345)
Sahih Muslim Book 5 - Hadith 339-345