Muhammad's visit to Ta'if

The Islamic prophet Muhammad went to the city of Ta’if in the year 619 AD.

The event
At that time, Ta'if was about two or three days' journey from Mecca. The climate of the city was relatively more pleasant than that of Mecca, and it was full of fertile gardens and orchards. It lies on the slopes of the higher and cooler mountains on the way to Yemen. The hills used to be visited by the higher classes and dignitaries of Mecca to spend their summer months. Three brothers of the Banu Thaqif, namely Habib, Mas'ud and Abd Yalayl were the main chiefs and leaders of the city at that time.

Upon Muhammad’s arrival, he invited them to convert to Islam and asked for their help and protection in his fight against the Quraysh tribe of Mecca. But they responded: "“If you are truly a prophet, what need do you have of our help? If God sent you as his messenger, why doesn’t He protect you? And if Allah wished to send a prophet, couldn’t He have found a better person than you, a weak and fatherless orphan?”"

As his efforts were to no avail, save to a few, he asked them to at least keep the matter a secret, to prevent the deepening of the Quraysh's enmity towards him and his message. However the elders of the city they rallied the people of Ta'if against him and forced him out of the walled city, pelting him with stones and wounding his hands and feet.

Orchard
Muhammad then took refuge in an orchard outside the city. The owners, Shayba and Utba ibn Rabi'a from the Meccan tribe of Shams, were in the garden at the time and saw his wounds and welcomed him into their home. They sent their slave Addas, a Christian, to give him a plate of grapes. Muhammad accepted the gift and ate it, reciting "Bismillah" (In the name of Allah). The young slave then said that he had never heard those words spoken since he left his town. Muhammad then asked him where he was from, and he replied that he was from Nineveh. Muhammad replied, "Jonah was from Nineveh.” Addas was astonished to find out that the Prophet Muhammad ﷺ knew of Jonah, as very few Arabs knew of him and his story. The Prophet Muhammad ﷺ then said, “He is my brother; he was a prophet of Allah, and I am also a prophet of Allah." Addas was then kissed his head, hands, and feet. On his return, Addas was scolded by his two masters who witnessed the occurrence, to which Addas reportedly replied, "There is no better man in this land than him; he has told me things that only a prophet can know."

Return
On Muhammad's return journey to Mecca, the news of what had happened in Ta'if had reached the Meccans, and Abu Jahl, one of the Quraysh chiefs, said: “They did not allow him to enter Ta'if, so let us deny him entry to Mecca as well.” Muhammad then rested for the night in a valley called Nakhla, where he was reported to have won converts from some jinns who heard him recite the Qur'an.

When Muhammad approached Mecca, realizing that he was not allowed to enter, he asked a passing horseman to send a message to Akhnas ibn Shariq, who was a clansman from his mother's clan, to extend his protection to him so that he could enter safely. But Akhnas refused on the grounds that he was only a confederate of the house of the Quraysh. Muhammad then sent a message to Suhayl ibn Amr, who also refused on tribal principle. In the end, Muhammad sent a message to Mut'im ibn Adiy, the chief of Banu Nawfal. Mut'im agreed, and after arming himself, he went with his sons and nephews to escort Muhammad into Mecca. When Abu Jahl saw them, he asked if Mut'im had converted to Islam or was simply granting him protection. He replied "Granting him protection, of course.” Abu Jahl then said, "We protect him to whom you give protection."