The Two Rakat of Greeting the Masjid
What is the ruling of offering the two rakahs of greeting the mosque? Is it permissible to pray them during the khutabah (Friday sermon)?
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.
Tahiyat Al-Masjid (“greeting the mosque”) is recommended according to most of the scholars.
Abu Qatadah (may Allah be pleased with him) said: The Prophet (peace be upon him) said: “When one of you enters the mosque, let him not sit down until he has prayed two rak`ahs.” (Al-Bukhari)
In this video, Dr. Muhammad Salah explains the ruling of greeting the mosque.
Source: Huda Youtube Channel.