(May Allaah raise his rank and grant him peace)

Entering the Masjid and Leaving it

1. Upon entrance to the Masjid, The Messenger of Allaah (صلي الله عليه و سلم)  would say :

 

بِسْمِ اللهِ، اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ

(In The Name of Allaah. O Allaah bestow grace, and peace upon Muhammad)

 

and upon leaving he would say:

بِسْمِ اللهِ، اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ

(In The Name of Allaah. O Allaah bestow grace, and peace upon Muhammad)

 

[Reference: Ibn As-Sunni, and At-Tirmithi who said it was comely. Al-Albaanee included this Hadeeth in The Authentic of Good Sayings as #48]


2. About the Messenger of Allaah (صلي الله عليه و سلم), he said : 

“When one of you enters the Masjid let him petition Salaam upon the Prophet (صلي الله عليه و سلم), and let him say:

 

اللَّهمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ

 (O Allaah! Open for me the gates of Your mercy).

اللَّهمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ

 (O Allaah! I ask You of Your benevolence.)

 

In one narration he added:  And petition Salaam upon the Messenger (صلي الله عليه و سلم) when leaving.  

[Reference: Muslim. Al-Albaanee included this Hadeeth in The Authentic of Good Sayings as #49]


3. The Prophet (صلي الله عليه و سلم)  was such that if he entered the Masjid he would say:

 

أَعُوذُ بِاللهِ الْعَظِيمِ، وَبِوَجْهِهِ الْكَرِيمِ، وَسُلْطَانِهِ الْقَدِيمِ، مِنَ الشَّيْطَانِ الرَّجِيمِ

 (I seek protection or refuge in Allaah The Magnificent, in His Noble Face,

and in His ancient dominion, from the despicable Shaytaan) 

 

He said:  “For when he would say that the Shaytaan would say: He has been protected from me for the reminder of the day”.

[Reference: Abu Dawood. Al-Albaanee included this Hadeeth in The Authentic of Good Sayings as #50]