Praise be to Allah, and may Allah’s peace and blessings be upon the Messenger of Allah, his family and his companions.
Wa alaikum assalam wa rahmatullahi wa barakatuh.
As to what follows:
The two units of prayer that comprise tahiyyatul-masjid is, as is mentioned by the scholars, included in the ruling of prayers that are performed due to specific causes during prohibited times of prayer. In the hadith narrated by Abu Qatadah, the Messenger of Allah (peace be upon him) said, “If any one of you is to enter the mosque, then let him pray two units of prayer before sitting.” [Bukhari (1176) and Muslim (714)]
This provides evidence that the prayer for the one entering the mosque is from the sunnah. If the time of his entry coincides with the prohibited times of prayer, then the issue of not being able to pray during these prohibited times may cause him some confusion. Because of this, scholars have differed in regards to the ruling on tahiyyatul-masjid, and they have two opinions:
The first: He should not pray during prohibited times, because prayer has been prohibited in them, and this encompasses all prayers. This is what the majority of scholars opined from the Hanafi, Maliki and Hanbali jurists.
The second: He can pray tahiyyatul-masjid during the prohibited times, because it is from among the prayers that are performed due to specific causes. This is the opinion of the Shafi`i Madh'hab and is a narration within the Hanbali Madh'hab as well. The argument for this opinion is that the prohibition is in regards to prayers that do not have specific causes. The prohibition of the Prophet (peace be upon him) from performing prayers during prohibited times had exceptions, such as making up missed obligatory prayers, the two units of prayer after tawaf around the Ka`bah and repeating the obligatory prayer with the congregation should one attend it. Similarly, the Prophet (peace be upon him) commanded to perform tahiyyatul-masjid during the Friday sermon. In the hadith narrated by Jabir (may Allah be pleased with him), the Messenger of Allah (peace be upon him) said, “If any one of you comes [to the mosque] while the Imam is delivering his sermon or has come out for it, then let him pray two units of prayer.” [Bukhari (1170) and Muslim (564)]
And the sermon is known to be a prohibited time for prayer. Likewise, tahiyyatul-masjid can be performed during the rest of the prohibited times of prayer. And Allah knows best.
Dr. Khalid al-Muslih
20 / 9 / 1427 AH
he"�dy� X�] �� [Abu Dawud (1073) and Ibn Majah (1311)]
This hadith is not free from criticism, but it is strengthened by the previous narration. And Allah knows best.
Dr. Khalid al-Muslih
29 / 9 / 1428 AH