Abdullah ibn Hasan reported from his mother Fatimah bint Husayn who reported on the authority of her grandmother Sayyidah Fatimah Kubra that when Allah’s Messenger entered a mosque, he invoked blessings on himself and made this supplication: (O my Lord! Forgive me my sins, and poen for me the doors to your mercy). And, when he came out of the mosque, he again invohed blessings on himself and made this prayer:
(O my Lord! Forgive me my sins, and open for me the doors to your abundance).Ali ibn Hujr said that Isma’il ibn Ibrahim told him that he then met Abdullah ibn Hasan at Makkah and asked him about this hadith. He said that when the Prophet entered the mosque, he would say:
(O my Lord! Open for me the doors to Your mercy). And when he come out, he would say
(O Lord! Open for me the doors to your abundance).