Question:
What is the virtue of Tahiyyat al-Masjid (the greeting prayer of the mosque)?
Answer:
Mosques are the places most beloved to Allah the Almighty and the most sacred part of the earth. The Shari’ah has prescribed two rak’ahs upon entering them:
❀ Humran bin Aban (may Allah have mercy on him) narrates:
“I brought water for ablution for Sayyidina Uthman (may Allah be pleased with him) while he was sitting on a platform. He performed ablution well, then said: In this very place I saw the Prophet ﷺ performing ablution. The Prophet ﷺ performed ablution well and said: Whoever performs ablution like this and then comes to the mosque and prays two rak’ahs, his previous (minor) sins are forgiven. The Prophet ﷺ also said: Do not be deceived.”
❀ Sayyidina Abu Qatadah (may Allah be pleased with him) narrates that the Messenger of Allah ﷺ said:
إذا دخل أحدكم المسجد، فليركع ركعتين قبل أن يجلس.
“When any of you enters the mosque, let him pray two rak’ahs before sitting.”
❀ In one narration it says:
لا يجلس حتى يركع ركعتين.
“Let him not sit until he has prayed two rak’ahs.”
❀ Hafiz al-Nawawi (may Allah have mercy on him) says:
فيه استحباب تحية المسجد بركعتين وهى سنة بإجماع المسلمين.
“This hadith is evidence that two rak’ahs for Tahiyyat al-Masjid are recommended, and the Muslims have consensus that it is a sunnah.”
❀ Sayyidina Anas bin Malik (may Allah be pleased with him) narrates that the Prophet ﷺ, while describing the event of the Mi’raj, said:
ثم دخلت المسجد، فصليت فيه ركعتين.
“I entered (Masjid al-Aqsa) and prayed two rak’ahs in it.”
❀ Masruq (may Allah have mercy on him) narrates about Sayyidina Abdullah bin Mas’ud (may Allah be pleased with him):
“He (may Allah be pleased with him) came out of the house and entered the mosque, and I was with him. A man greeted him with salam, so he said: Allah the Almighty and His Messenger have spoken the absolute truth. He was asked: What is that? He said: It is among the signs of the Day of Judgment that a man will greet only someone he knows, a man will enter a mosque and cross its length and breadth but will not pray two rak’ahs of prayer in it, and a young man will send an old man as a messenger to the lowland between two mountains (this is said idiomatically, indicating a far-off place).”