This hadîth shows that it is recommended for us to greet the mosque with two units of prayer. Muslims are unanimously agreed that it is Sunnah to do so. Al-Qâdî `Iyâd attributes to Dâwûd (al-Zâhirî) and his followers the opinion that it is obligatory.The hadîth about the Friday sermon that al-Nawawî refers to is as follows:
The hadîth certainly makes it clear that it is disliked to sit down in the mosque without first offering a prayer. This dislike is only to the level of disapproval. It is merely preferable to offer this prayer.
The hadîth shows that it is preferable to do so whatever time one enters the mosque. This is the ruling adopted by our (Shâfi`î) school of law as well as by a number of other scholars.
Abû Hanîfah and al-Awzâ`î, by contrast, disliked offering this prayer at times when prayer is generally forbidden. Our scholars disagree by saying that the prohibition at those times applies only to prayers that do not have a particular reason for offering them. We see that the Prophet (peace be upon him) made up after `Asr the two-unit Sunnah prayer for Zuhr that he had missed. This is a time when prayers are generally forbidden, so the Prophet’s action narrows down this prohibition to prayers that have no reason preceding them.
In fact, he never left out tahiyyah al-masjid under any circumstances. He even ordered a person to get up and pray who came in the mosque and sat down while he was delivering the Friday sermon. He told the man to get up and offer two units of prayer. This is in spite of the fact that it is forbidden to offer prayers while the sermon is going on – except, that is, for tahiyyah al-masjid.
If there had been any time that tahiyyah al-masjid would have been overlooked, it would have been at this time. The man had already sat down – and tahiyyah al-masjid is supposed to be performed before sitting down – but this man did not know the ruling. The Prophet (peace be upon him) interrupted his sermon to tell the man to get up and pray. If it were not a very important to offer this prayer at all times, the Prophet (peace be upon him) would not have shown so much concern about it.
It is not necessary for the person to have the express intention of offering tahiyyah a-masjid. Any two-unit Sunnah prayer or obligatory prayer will do.And Allah knows best.
It will not be enough – according to our school of thought – to offer a funeral prayer, a prostration of thanks, or prostration of recitation. Also, it will not be enough to offer a single unit of prayer, even with the intention of greeting the mosque with it. This is because the wording of the hadîth clearly states two units of prayer.
Is Speaking Out Contrary to the Dictates of Patience?Sometimes it is best for the aggrieved party to speak out against the person who wronged him. This is when it has the affect of prohibiting wrongdoing or preventing others from coming to harm. It is also best when it is hoped that the wrongdoer might change his ways and act properly in the future.
I went to the Prophet (peace be upon him) in Muzdalifah at the time of prayer and said: “O Messenger of Allah! I came from the Tayy Mountains. I lost my way with my steed and wore myself out. By Allah, there is not a mountain that I did not stop upon. Do I have the Hajj to my credit?”This is proof that if a pilgrim departs from `Arafah before sunset, there is no expiation upon him.
The Prophet (peace be upon him) said: ‘“Whoever finds this prayer with us and arrives in `Arafah beforehand, whether at night or during the day, then his Hajj and its rites are fulfilled.”
Ibn Abbâs said: "Whoever leaves out of forgets anything from the rites of Hajj should offer a blood sacrifice."
Scholarly Opinions on Performing Obligatory Rites of Hajj Out of SequenceScholars have expressed two opinions on the matter.