"Let one of you pray two units of prayer when s/he enters a mosque before sitting down!" (Bukhari, Salat, 60).
Tahiyatul Masjid is not Fardh. It is part of those nafl (supergatory) or at best, Mustahab (preferred) actions that are highly rewarding when done. Rasulullah (Sallallaahu alayhi wa sallam) performed Tahiyat-al-Masjid and so did the Sahaba (radiAllahu anh) and those who came thereafter. It continues up to this day. However, some people forget that there is a time and place for it. It is not something you must perform and impose upon others. It is fair to state: it is a recommended practice, not an imposed practice.
How to perform Tahiyat al-Masjid Prayer
Here are some great scholars who have commented regarding Tahiyat-al-Masjid:
Allamah Ayni has stated in Umdatul-Qari, (volume 4, page 202) that the Sahaba (radiAllahu anh) would enter the masjid after leaving it, and not read Tahiyat-al-Masjid upon re-entering. In other words, they did not bind themselves to always performing it. If they read it, well and good; if they did not perform this noble prayer, then it was not viewed as an act of transgression, nor was it viewed as an action to be debated or contested upon.
According to Imaan Allahmah Nawai (Al-Minhaaj volume 5, page 232) and Hajr Asqalani, (Fath-hul-Bari, volume 1, page number. 707 – Qadeemi) Tahiyat-al-Masjid is not Fardh. The most one can claim regarding it is that it is Mustahab. This means, a preference for it does exist, not an obligation. A preference is not a demand.
Also, from the Quran and many Ahadith, including the one below, we learn that certain actions are Fard — binding upon Muslims. From the list of things that are binding upon Muslims, Tahiyat-al-Masjid was not one of them. Had Tahiyat-al-Masjid been made obligatory, then we would have to do a make up for it if missed, or always perform it upon entering the masjid. As we are aware, this is certainly not the case, even for those who are adamant upon it. However, such laxity does not apply to Fardh actions.
Thus, from the above Hadith mentioned in Bukhari, we learn that when a Bedouin came to Rasulullah (Sallallaahu alayhi wa sallam) and asked regarding prayers, Rasulullah (Sallallaahu alayhi wa sallam) never mentioned that one must pray beyond the five daily prayers except for when that person voluntarily chooses to the performance of a Nafl (supergoatory prayer). Thus, to insist on having one perform Tahiyat-al-Masjid would be to insist on making an addition to Deen (religion). Such an insistence would be bid’ah (innovation). That would be plain wrong. Yes, had this action fallen into the category of even sunnat-muakkada (an emphasized sunnah for the Ummah), we would say it is worth debating. Or arrangements should be made to keep up with it without failure. But this is not the case. For now, the discussion should surround doing noble deeds, and Tahiyat-al-Masjid is from amongst those actions that enhance one’s nobility and closeness to Allah (subhanahu wa ta’aala).
Source: islaminaction.wordpress.com
How to perform Tahiyat al-Masjid Prayer
The Prayer of Greeting the Mosque
-
1. Rakat
- First make the Niyyah (intention) by reciting "I intend to perform two rakats of the salat al Tahiyat al-Masjid"
- You say takbir "Allahu Akbar" This starts the prayer.
- Begin reciting "Subhanaka"
- After you say: "Audhu billahi min-ash-shayta -nir-rajeem Bismillah-ir-Rahman-ir-raheem"
- Reciting Surah Al-Fatiha
- Another portion (Surah) of the Qur'an.
- Go into Ruku (the bowing position) and You say "Subahaana Rabbiyal Azeem"
- Stand up straight when you says "Sami Allahu liman Hamidah", and say "Rabbana lakal Hamd" in a low voice.
- Go into the 1st Sajdah and You say "Subahaana Rabbiyal Aa'la"
- Now sit-up from the first Sajdah in jalsa position (Sitting position between the two Sajdahs)
- Now go into the 2nd Sajdah and You say "Subahaana Rabbiyal Aa'la"
-
2. Rakat
- Rise up to proceed to the next raka'at,
- You say "Bismillah-ir-Rahman-ir-raheem"
- Reciting Surah Al-Fatiha
- Another portion (Surah) of the Qur'an.
- Go into Ruku (the bowing position) and You say "Subahaana Rabbiyal Azeem"
- Stand up straight when you says "Sami Allahu liman Hamidah", and say "Rabbana lakal Hamd" in a low voice.
- Go into the 1st Sajdah and You say "Subahaana Rabbiyal Aa'la"
- Now sit-up from the first Sajdah in jalsa position (Sitting position between the two Sajdahs)
- Now go into the 2nd Sajdah and You say "Subahaana Rabbiyal Aa'la"
- After this, you sit for the complete Tashshahud: You recite At-tahiyyat, Allah-umma salli, Allah-umma Barik and Rabbana.
- Turning to your face to the right first and saying "Assalamu alaikum wa Rahmatullah" and then to his left and doing the same