(18) باب فِيمَا يَقُولُهُ الرَّجُلُ عِنْدَ دُخُولِهِ الْمَسْجِدَ
Abu Usaid al-Ansari reported the Messenger of Allah (May peace be upon him) as saying:
when any of you enters the mosque he should invoke blessing on the prophet (ﷺ) and then he should say: O Allah, open to me the gates of thy mercy. And when he goes out, he should say: O Allah, I ask thee out of Thine abundance.
Reference: Sunan Abi Dawud 465
In-book reference: Book 2, Hadith 75
English translation: Book 2, Hadith 465
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.