What is the Ruling of Offering Tahiyyat Al-Masjid?
In the name of Allah, we praise Him, seek His help and ask for His forgiveness. Whoever Allah guides none can misguide, and whoever He allows to fall astray, none can guide them aright.
Abu Qatadah narrated that the Prophet (peace be upon him) said, “If anyone of you enters a Mosque, he should not sit until he prays two rak`ahs“. (Agreed Upon)
Imam An-Nawai said: “The scholars are unanimously agreed that it is preferred to greet the mosque, and it is disliked to sit down without greeting it with no excuse, because of the hadith of Abu Qatadah which clearly states that that is not allowed. (Al-Majmu‘)
Watch this short talk with Dr. Muhammad Salah to get the ruling of making Greeting the Masjid Prayer.
Source: Huda Youtube Channel.