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.
bayhaqi:18829Abū ʿAbdullāh al-Ḥāfiẓ > Abū Bakr Aḥmad b. Salmān b. al-Ḥasan > Aḥmad b. Muḥammad b. ʿĪsá > Abū Ḥudhayfah > Sufyān > Abū Isḥāq > al-Barāʾ

On the day of Hudaibiya, the Prophet ﷺ, the Prophet ﷺ made a peace treaty with the Al-Mushrikun on three conditions: 1. The Prophet ﷺ would return to them any person from Al-Mushrikun (polytheists, idolaters, pagans). 2. Al-Mushrikun pagans would not return any of the Muslims going to them, and 3. The Prophet ﷺ and his companions would come to Makkah the following year and would stay there for three days and would enter with their weapons in cases, e.g., swords, arrows, bows, etc. Abu Jandal came hopping, his legs being chained, but the Prophet ﷺ returned him to Al-Mushrikun. (Using translation from Bukhārī 2700)   

البيهقي:١٨٨٢٩أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو بَكْرٍ أَحْمَدُ بْنُ سَلْمَانَ بْنِ الْحَسَنِ ثنا أَحْمَدُ بْنُ مُحَمَّدِ بْنِ عِيسَى ثنا أَبُو حُذَيْفَةَ ثنا سُفْيَانُ عَنْ أَبِي إِسْحَاقَ عَنِ الْبَرَاءِ ؓ قَالَ

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

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ أَبِي حُذَيْفَةَ

See similar narrations below:

Collected by Bukhārī, Aḥmad
bukhari:2700Mūsá b. Masʿūd > Sufyān b. Saʿīd > Abū Isḥāq > al-Barāʾ b. ʿĀzib

On the day of Hudaibiya, the Prophet ﷺ, the Prophet ﷺ made a peace treaty with the Al-Mushrikun on three conditions: 1. The Prophet ﷺ would return to them any person from Al-Mushrikun (polytheists, idolaters, pagans). 2. Al-Mushrikun pagans would not return any of the Muslims going to them, and 3. The Prophet ﷺ and his companions would come to Makkah the following year and would stay there for three days and would enter with their weapons in cases, e.g., swords, arrows, bows, etc. Abu Jandal came hopping, his legs being chained, but the Prophet ﷺ returned him to Al-Mushrikun.  

البخاري:٢٧٠٠وَقَالَ مُوسَى بْنُ مَسْعُودٍ حَدَّثَنَا سُفْيَانُ بْنُ سَعِيدٍ عَنْ أَبِي إِسْحَاقَ عَنِ الْبَرَاءِ بْنِ عَازِبٍ ؓ قَالَ

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

ahmad:18683Muʾammal > Sufyān > Abū Isḥāq > al-Barāʾ b. ʿĀzib

[Machine] And the Messenger of Allah ﷺ dismissed the polytheists on the day of Hudaybiyah on three conditions: whoever comes to them from the Prophet ﷺ, they would not return him, but if someone goes to them from them, they would return him to them. And that the Prophet ﷺ would come the following year with his companions and enter Makkah without performing Umrah, but only three things would be taken with them and weapons such as swords and bows, and the like would not be taken with them.  

أحمد:١٨٦٨٣حَدَّثَنَا مُؤَمَّلٌ حَدَّثَنَا سُفْيَانُ عَنْ أَبِي إِسْحَاقَ عَنِ الْبَرَاءِ بْنِ عَازِبٍ قَالَ

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