كتاب الصلاة
4  
Prayer
(8b)
Chapter: Mosques and places of Prayer - Section 2
(7)
باب المساجد ومواضع الصلاة - الفصل الثاني
Mishkat al-Masabih 731
Fatima daughter of al-Husain said on the authority of her grand-mother, Fatima the elder,* that when the Prophet entered the mosque he would pray for blessings and safety for himself and say, “My Lord, forgive me my sins, and open to me the gates of Thy mercy.” And when he went out he would pray for blessings and safety for himself and say, “My Lord, forgive me my sins, and open to me the gates of Thy abundance.” *The daughter of the Prophet who married ‘Ali. Tirmidhi, Ahmad and Ibn Majah transmitted it. In the version of the last two she said that when he entered the mosque, and also when he came out, he said, “In the name of God, and peace be upon God’s Messenger,” instead of “he would pray for blessings and safety for himself.” Tirmidhi said that its isnad is not connected, for Fatima daughter of al-Husain was not born in the lifetime of Fatima the elder.
وَعَنْ فَاطِمَةَ بِنْتِ الْحُسَيْنِ عَنْ جَدَّتِهَا فَاطِمَةَ الْكُبْرَى رَضِيَ اللَّهُ عَنْهُمْ قَالَتْ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا دَخَلَ الْمَسْجِدَ صَلَّى عَلَى مُحَمَّدٍ وَسَلَّمَ وَقَالَ: «رَبِّ اغْفِرْ لِي ذُنُوبِي وَافْتَحْ لِي أَبْوَابَ رَحْمَتِكَ» وَإِذَا خَرَجَ صَلَّى عَلَى مُحَمَّدٍ وَسَلَّمَ وَقَالَ رَبِّ اغْفِرْ لِي ذُنُوبِي وَافْتَحْ لِي أَبْوَابَ فَضْلِكَ ". رَوَاهُ التِّرْمِذِيُّ وَأَحْمَدُ وَابْنُ مَاجَهْ وَفِي رِوَايَتِهِمَا قَالَتْ: إِذَا دَخَلَ الْمَسْجِدَ وَكَذَا إِذَا خَرَجَ قَالَ: «بِسْمِ اللَّهِ وَالسَّلَامُ عَلَى رَسُولِ اللَّهِ» بَدَلَ: صَلَّى عَلَى مُحَمَّدٍ وَسَلَّمَ. وَقَالَ التِّرْمِذِيُّ لَيْسَ إِسْنَادُهُ بِمُتَّصِلٍ وَفَاطِمَةُ بِنْتُ الْحُسَيْنِ لَمْ تدْرك فَاطِمَة الْكُبْرَى
  ضَعِيف   (الألباني) حكم   :
Reference : Mishkat al-Masabih 731
In-book reference : Book 4, Hadith 160