Hadith: Arabic Text followed by English Translation. 

عن أبي بن كعب رضي الله عنه قال‏

كان رجل من الأنصار لا أعلم أحدًا أبعد من المسجد منه، وكانت لا تخطئه صلاة‏!‏ فقيل له‏:‏ لو اشتريت حمارًا تركبه في الظلماء وفي الرمضاء قال‏:‏ ما يسرني أن منزلي إلى جنب المسجد إني أريد أن يكتب لي ممشاي إلى المسجد، ورجوعي إذا رجعت إلى أهلي، فقال رسول الله صلى الله عليه وسلم‏:‏ ‏”‏قد جمع الله لك ذلك كله‏”

رواه مسلم ٦٦٣

Ubayy bin Ka’b (May Allah be pleased with him) reported:

There was a man of the Ansar whose house was the farthest from the mosque. As far as I know, he never missed Salat (in congregation). It was said to him: “If you buy a donkey, you may ride upon it in the dark nights and in the hot days.” He said: “I do not like that my house should be situated close to the mosque. I desire that my walking towards the mosque and returning home be recorded to my credit.” Upon this the Messenger of Allah (ﷺ) said, “Allah has gathered all (rewards) for you.”

Narrated by Muslim, 663

Download Sunnah Assistant Android App: Set Reminders and Get Prayer Times Alerts. Download Now for Free

Dua upon entering the Mosque
1. Haiwah b. Shuraih reported :

I met ‘Uqbah b. Muslim and said to him: it has been reported to me that someone has narrated to you from the prophet (Peace and blessings of Allah be upon him) that when he entered the mosque, he would say: 

“‏ أَعُوذُ بِاللَّهِ الْعَظِيمِ وَبِوَجْهِهِ الْكَرِيمِ وَسُلْطَانِهِ 

الْقَدِيمِ مِنَ الشَّيْطَانِ الرَّجِيمِ


I seek refuge in Allah, the Magnificent, and in His noble face, and in his eternal domain, from the accursed Devil. 

He asked : is it so much only? I said: Yes. He said: when anyone says so. The devil says: he is protected from me all the day long.  

Sunan Abi Dawud 466 Also See Sahih Al-Jami’ 4591

2. Abu Usaid reported that the Messenger of Allah (Peace and blessings of Allah be upon him) said:

When any one of you enters the mosque, he should say:


اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ ‏.

” O Allah! open for me the doors of Thy mercy” ; 

and when he steps out he should say: 

اللَّهُمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ 

‘O Allah! I beg of Thee Thy Grace.” 

(Imam Muslim said: I heard Yahya saying: I transcribed this hadith from the compilation of Sulaiman b. Bilal.

Sahih Muslim 713

Other references

 Ibn As-Sunni (Hadith no. 88), graded good by Al-Albani.

Abu Dawud 1/126, see also Al-Albani, Sahihul-Jami’As-Saghir 1/528.

Memorize,put into practice and share with family and Friends.