It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that he heard the Messenger of Allah (peace and blessings be upon him) saying: "Shall I not tell you of something by which Allah Almighty wipes out sins and increases good deeds?" The Companions (may Allah be pleased with them) said: "Messenger of Allah (peace and blessings be upon him), of course (please tell us)." He (peace and blessings be upon him) said: "Performing ablution thoroughly despite difficulty (such as severe cold or hardship), taking many steps to the mosques, and waiting for one prayer after another prayer. There is none of you who goes out of his house in a state of purity, then prays the congregational prayer with the Muslims, and then sits in the mosque waiting for the next prayer, except that the angel keeps supplicating: 'Allahummaghfir lahu, Allahummarhamhu' (O Allah, forgive him; O Allah, have mercy on him). So when you stand for prayer, keep your rows even, straighten them and fill the gaps in between, for I see you behind me, from the side of my back. Then when your imam says 'Allahu akbar' (Allah is the Greatest), you too say 'Allahu akbar'; when he bows, you too bow; and when he says 'Sami'a Allahu liman hamidah' (Allah has heard the one who praised Him), you say 'Allahumma rabbana lakal-hamd' (O Allah, our Lord, to You belongs all praise). And indeed the best rows of the men are the first and the worst are the last, while the best rows of the women are the last and the worst are the first. O company of women! When the men prostrate, keep your gaze lowered, so that you do not see the private parts of the men because of the tightness of their waist-wrappers."
Hadith Referenceمسند أبي يعلى الموصلي / من مسند أبي سعيد الخدري / 1355
Hadith Gradingمحدثین:إسناده حسن
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده حسن . » «قال سعيد بن محمد السناري: صحيح» «أخرجه صحيح مسلم برقم: 477، وأخرجه سنن النسائي برقم: 1068، وأخرجه سنن أبي داود برقم: 847، وأخرجه سنن ابن ماجه برقم: 427، 776، 877، وأخرجه مسند أحمد برقم: 10611، وأخرجه سنن الدارمي برقم: 698، 1313، وأخرجه المستدرك على الصحيحين برقم: 715، وأخرجه صحيح ابن خزيمة برقم: 177، 357، 613، 1562، وأخرجه المعجم الأوسط للطبراني برقم: 3232، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 2518، وأخرجه البحر الزخار المعروف بمسند البزار 10 - 18 برقم: 8129، وأخرجه الأوسط في السنن والإجماع والاختلاف برقم: 1972، وأخرجه إتحاف الخيرة المهرة بزوائد المسانيد العشرة برقم: 523/1، 1221/1، مسند ابویعلیٰ ترقیم الاثری: 1350»