Abu Usaid said: The messenger of Allah, may Allah send upon him blessings and peace, said:
When one of you enters the mosque he should say:
“Oh Allah! Open for me the doors of your mercy.“
And when he exits he should say:
“Oh Allah! I indeed ask you of your favor.“
Saheeh muslim: 1651
عَنْ أبِي أسَيْد قالَ: قالَ رَسُولُ اللهِ صلى اللهُ عَلَيْهِ و سَلَّمْ: إذَا دَخَلَ أحَدُكُمْ المَسْجِدَ فَلْيَقُلْ:
اللّهُمَّ افْتَحْ لِيْ اَبْوابَ رَحْمَتِكَ.
و إذا خَرَجَ فَلْيَقُلْ:
اللهُمَّ إنّيْ أَسْأَلُكَ مِنْ فَضْلِكَ.
الصحيح لمسلم: ١٦٥١

Mercy is not taken away except from a wretched person. 








