Sahih Muslim
1652
Chapter 7 · The Book of Prayer - Travellersمَا يَقُولُ إِذَا دَخَلَ الْمَسْجِدَ
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى أَخْبَرَنَا سُلَيْمَانُ بْنُ بِلَالٍ عَنْ رَبِيعَةَ بْنِ أَبِي عَبْدِ الرَّحْمَنِ عَنْ عَبْدِ الْمَلِكِ بْنِ سَعِيدٍ عَنْ أَبِي حُمَيْدٍ أَوْ عَنْ أَبِي أُسَيْدٍ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا دَخَلَ أَحَدُكُمْ الْمَسْجِدَ فَلْيَقُلْ اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ وَإِذَا خَرَجَ فَلْيَقُلْ اللَّهُمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ قَالَ مُسْلِم سَمِعْتُ يَحْيَى بْنَ يَحْيَى يَقُولُ كَتَبْتُ هَذَا الْحَدِيثَ مِنْ كِتَابِ سُلَيْمَانَ بْنِ بِلَالٍ قَالَ بَلَغَنِي أَنَّ يَحْيَى الْحِمَّانِيَّ يَقُولُ وَأَبِي أُسَيْدٍِ.
Translation
Not reworked yet
The Arabic text and the translations come from our previous collection: English from hadithapi.com, German and Turkish machine-translated (Gemini) and unreviewed. A new translation from the Arabic with the chain of narration will follow.
What to say when entering the masjid
The Messenger of Allah ( صلی اللہ علیہ وسلم ) 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 bin Bilal.)