When he has completed the stoning of the Jamaraat on the 12th day of Dhu’l-Hijjah, if he wants he may hasten and leave Mina, and if he wants he may delay his departure and stay there for another night, the night of the 13th, and stone the three Jamaraat after noon as he did before. It is better to delay, but it is not obligatory unless the sun has set on the 12th and he is still in Mina, in which case it is obligatory to stay until one has stoned the three Jamaraat after noon on the following day. But if the sun sets on the 12th and he is still in Mina but not by choice, such as if he had already started out and boarded his means of transportation, but got delayed because of crowded conditions and traffic jams etc., then he is not obliged to stay there, because the delay until sunset was not by his choice.When the pilgrim wants to leave Makkahand go back to his country, he should not leave until he has performed the farewell tawaaf (tawaaf al-wadaa’), because the Prophet (peace and blessings of Allaah be upon him) said:
“No one should leave until the last thing that he does is (tawaaf) around the House.”
Narrated by Muslim, 1327).
According to another version, he told the people that the last thing they should do was (tawaaf) around the house, but he made an exception for women who were menstruating.
Narrated by al-Bukhaari, 1755; Muslim, 1328.