Mishkat al-Masabih 4043
Al-Bara’ b. ‘Azib said the Prophet made agreement with the polytheists on the day of al-Hudaibiya regarding three matters:
that he should return to the polytheists anyone who came to him from them, but they should not return any of the Muslims who came to them; that he should enter Mecca the following year and stay in it three days; and that he should enter it only with such weapons as swords and bows in cases. Then Abu Jandal came hobbling in his fetters and he sent him back to them. 

(Bukhari and Muslim.)
وَعَنِ الْبَرَاءِ بْنِ عَازِبٍ قَالَ: صَالَحَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الْمُشْرِكِينَ يَوْمَ الْحُدَيْبِيَةِ عَلَى ثَلَاثَةِ أَشْيَاءَ: عَلَى أَنَّ مَنْ أَتَاهُ مِنَ الْمُشْرِكِينَ رَدَّهُ إِلَيْهِمْ وَمَنْ أَتَاهُمْ مِنَ الْمُسْلِمِينَ لَمْ يَرُدُّوهُ وَعَلَى أَنْ يَدْخُلَهَا مِنْ قَابِلٍ وَيُقِيمَ بِهَا ثَلَاثَةَ أَيَّامٍ وَلَا يَدْخُلَهَا إِلَّا بِجُلُبَّانِ السِّلَاحِ وَالسَّيْفِ وَالْقَوْسِ وَنَحْوِهِ فَجَاءَ أَبُو جَنْدَلٍ يَحْجِلُ فِي قُيُودِهِ فَرده إِلَيْهِم