Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:4252[Chain 1] Muḥammad b. Rāfiʿ > Surayj > Fulayḥ [Chain 2] Muḥammad b. al-Ḥusayn b. Ibrāhīm from my father > Fulayḥ b. Sulaymān > Nāfiʿ > Ibn ʿUmar

Messenger of Allah ﷺ set out with the intention of performing ʿUmra, but the infidels of Quraish intervened between him and the Kaʿba, so the Prophet ﷺ slaughtered his Hadi (i.e. sacrificing animals and shaved his head at Al-Hudaibiya and concluded a peace treaty with them (i.e. the infidels) on condition that he would perform the ʿUmra the next year and that he would not carry arms against them except swords, and would not stay (in Mecca) more than what they would allow. So the Prophet ﷺ performed the ʿUmra in the following year and according to the peace treaty, he entered Mecca, and when he had stayed there for three days, the infidels ordered him to leave, and he left.  

البخاري:٤٢٥٢حَدَّثَنِي مُحَمَّدُ بْنُ رَافِعٍ حَدَّثَنَا سُرَيْجٌ حَدَّثَنَا فُلَيْحٌ ح وَحَدَّثَنِي مُحَمَّدُ بْنُ الْحُسَيْنِ بْنِ إِبْرَاهِيمَ قَالَ حَدَّثَنِي أَبِي حَدَّثَنَا فُلَيْحُ بْنُ سُلَيْمَانَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ ؓ

أَنَّ رَسُولَ اللَّهِ ﷺ خَرَجَ مُعْتَمِرًا فَحَالَ كُفَّارُ قُرَيْشٍ بَيْنَهُ وَبَيْنَ الْبَيْتِ فَنَحَرَ هَدْيَهُ وَحَلَقَ رَأْسَهُ بِالْحُدَيْبِيَةِ وَقَاضَاهُمْ عَلَى أَنْ يَعْتَمِرَ الْعَامَ الْمُقْبِلَ وَلاَ يَحْمِلَ سِلاَحًا عَلَيْهِمْ إِلاَّ سُيُوفًا وَلاَ يُقِيمَ بِهَا إِلاَّ مَا أَحَبُّوا فَاعْتَمَرَ مِنَ الْعَامِ الْمُقْبِلِ فَدَخَلَهَا كَمَا كَانَ صَالَحَهُمْ فَلَمَّا أَنْ أَقَامَ بِهَا ثَلاَثًا أَمَرُوهُ أَنْ يَخْرُجَ فَخَرَجَ  


See similar narrations below:

Collected by Bukhārī, Aḥmad, Bayhaqī
bukhari:2701Muḥammad b. Rāfiʿ > Surayj b. al-Nuʿmān > Fulayḥ > Nāfiʿ > Ibn ʿUmar

Messenger of Allah ﷺ set out for the ʿUmra but the pagans of Quraish prevented him from reaching the Kaʿba. So, he slaughtered his sacrifice and got his head shaved at Al-Hudaibiya, and agreed with them that he would perform ʿUmra the following year and would not carry weapons except swords and would not stay in Mecca except for the period they allowed. So, the Prophet ﷺ performed the ʿUmra in the following year and entered Mecca according to the treaty, and when he stayed for three days, the pagans ordered him to depart, and he departed.  

البخاري:٢٧٠١حَدَّثَنَا مُحَمَّدُ بْنُ رَافِعٍ حَدَّثَنَا سُرَيْجُ بْنُ النُّعْمَانِ حَدَّثَنَا فُلَيْحٌ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ ؓ

أَنَّ رَسُولَ اللَّهِ ﷺ خَرَجَ مُعْتَمِرًا فَحَالَ كُفَّارُ قُرَيْشٍ بَيْنَهُ وَبَيْنَ الْبَيْتِ فَنَحَرَ هَدْيَهُ وَحَلَقَ رَأْسَهُ بِالْحُدَيْبِيَةِ وَقَاضَاهُمْ عَلَى أَنْ يَعْتَمِرَ الْعَامَ الْمُقْبِلَ وَلاَ يَحْمِلَ سِلاَحًا عَلَيْهِمْ إِلاَّ سُيُوفًا وَلاَ يُقِيمَ بِهَا إِلاَّ مَا أَحَبُّوا فَاعْتَمَرَ مِنَ الْعَامِ الْمُقْبِلِ فَدَخَلَهَا كَمَا كَانَ صَالَحَهُمْ فَلَمَّا أَقَامَ بِهَا ثَلاَثًا أَمَرُوهُ أَنْ يَخْرُجَ فَخَرَجَ  

ahmad:6067Yūnus And Surayj > Fulayḥ > Nāfiʿ > Ibn ʿUmar

Messenger of Allah ﷺ set out for the ʿUmra but the pagans of Quraish prevented him from reaching the Kaʿba. So, he slaughtered his sacrifice and got his head shaved at Al-Hudaibiya, and agreed with them that he would perform ʿUmra the following year and would not carry weapons except swords and would not stay in Mecca except for the period they allowed. So, the Prophet ﷺ performed the ʿUmra in the following year and entered Mecca according to the treaty, and when he stayed for three days, the pagans ordered him to depart, and he departed. (Using translation from Bukhārī 2701)  

أحمد:٦٠٦٧حَدَّثَنَا يُونُسُ وَسُرَيْجٌ قَالَا حَدَّثَنَا فُلَيْحٌ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَسُولَ اللهِ ﷺ خَرَجَ مُعْتَمِرًا فَحَالَ كُفَّارُ قُرَيْشٍ بَيْنَهُ وَبَيْنَ الْبَيْتِ فَنَحَرَ هَدْيَهُ وَحَلَقَ رَأْسَهُ بِالْحُدَيْبِيَةِ فَصَالَحَهُمْ عَلَى أَنْ يَعْتَمِرُوا الْعَامَ الْمُقْبِلَ وَلَا يَحْمِلَ السِّلَاحَ عَلَيْهِمْ َقَالَ سُرَيْجٌ وَلَا يَحْمِلَ سِلَاحًا إِلَّا سُيُوفًا وَلَا يُقِيمَ بِهَا إِلَّا مَا أَحَبُّوا فَاعْتَمَرَ مِنَ الْعَامِ الْمُقْبِلِ فَدَخَلَهَا كَمَا كَانَ صَالَحَهُمْ فَلَمَّا أَنْ أَقَامَ ثَلَاثًا أَمَرُوهُ أَنْ يَخْرُجَ فَخَرَجَ  

bayhaqi:10081ʿAlī b. Aḥmad b. ʿAbdān > Aḥmad b. ʿUbayd al-Ṣaffār > Tamtām / Muḥammad b. Ghālib

[Machine] The Prophet ﷺ performed 'Umrah (pilgrimage to Makkah) and the disbelievers of Quraysh prevented him from reaching the Ka'bah. So he sacrificed his offering and shaved his head in Hudaybiyah. He settled with them on the condition that he perform 'Umrah the following year and not carry any weapons except what they deemed necessary. He performed 'Umrah in the following year as well as his companions. When he had performed it three times, they ordered him to leave, so he left. Abu 'Amr Muhammad ibn 'Abdullah al-Adibi informed us, Abu Bakr al-Isma'ili informed me, and Abu Ya'la Ahmad ibn 'Ali narrated to me, from Abu Khaythamah Zuha'ir ibn Harb, from Suraij ibn Nu'man, from Fuleih, he mentioned it in a similar manner, except that he said: "He should not carry any weapons except swords."  

البيهقي:١٠٠٨١أَخْبَرَنَا عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ أنا أَحْمَدُ بْنُ عُبَيْدٍ الصَّفَّارُ ثنا تَمْتَامٌ يَعْنِي مُحَمَّدَ بْنَ غَالِبٍ ثنا سَعْدٌ يَعْنِي ابْنَ عَبْدِ الْحَمِيدِ الْعَوْفِيَّ ثنا فُلَيْحٌ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ النَّبِيَّ ﷺ خَرَجَ مُعْتَمِرًا فَحَالَ كُفَّارُ قُرَيْشٍ بَيْنَهُ وَبَيْنَ الْبَيْتِ فَنَحَرَ هَدْيَهُ وَحَلَقَ رَأْسَهُ بِالْحُدَيْبِيَةِ وَقَاضَاهُمْ عَلَى أَنْ يَعْتَمِرَ الْعَامَ الْمُقْبِلَ وَلَا يَحْمِلَ عَلَيْهِمْ بِسِلَاحٍ وَلَا يُقِيمَ بِهَا إِلَّا مَا أَحَبُّوا فَاعْتَمَرَ مِنَ الْعَامِ الْمُقْبِلِ كَمَا كَانَ صَالَحَهُمْ فَلَمَّا أَقَامَ بِهَا ثَلَاثًا أَمَرُوهُ أَنْ يَخْرُجَ فَخَرَجَ 10082 وَأَخْبَرَنَا أَبُو عَمْرٍو مُحَمَّدُ بْنُ عَبْدِ اللهِ الْأَدِيبُ أنا أَبُو بَكْرٍ الْإِسْمَاعِيلِيُّ أَخْبَرَنِي أَبُو يَعْلَى أَحْمَدُ بْنُ عَلِيٍّ ثنا أَبُو خَيْثَمَةَ زُهَيْرُ بْنُ حَرْبٍ ثنا سُرَيْجُ بْنُ النُّعْمَانِ عَنْ فُلَيْحٍ فَذَكَرَهُ بِنَحْوِهِ إِلَّا أَنَّهُ قَالَ وَلَا يَحْمِلَ سِلَاحًا عَلَيْهِمْ إِلَّا سُيُوفًا  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ مُحَمَّدِ بْنِ رَافِعٍ عَنْ سُرَيْجٍ