[Machine] The Messenger of Allah ﷺ redeemed two Muslim captives with a man from the polytheists of the Banu Uqayl tribe. The tribe of Uqayl was allies to the Thaqif tribe during the pre-Islamic era. And it is known that the Thaqif tribe had captured two Muslims, so the Muslims captured a man from the tribe of Uqayl in return and took a camel that had preceded in the pre-Islamic era. When the camel preceded during the pre-Islamic era, it was not prevented from a watering hole or from grazing. The man sat in a place and the Prophet ﷺ passed by him, so he said, "O Muhammad, what is the reason for my captivity and the precedence of the camel?" He said, "We have kept you as a captive in the place of your allies, the Thaqif tribe." And then he mentioned the hadith.
أَنَّ رَسُولَ اللهِ ﷺ فَدَى رَجُلَيْنِ مِنَ الْمُسْلِمِينَ بِرَجُلٍ مِنَ الْمُشْرِكِينَ مِنْ بَنِي عُقَيْلٍ أَسَرَتْهُمُا ثَقِيفٌ وَكَانَتْ بَنُو عَقِيلٍ حُلَفَاءَ لِثَقِيفٍ فِي الْجَاهِلِيَّةِ وَأَنَّ ثَقِيفًا أَسَرَتْ رَجُلَيْنِ مِنَ الْمُسْلِمِينَ فَأَسَرَ الْمُسْلِمُونَ رَجُلًا مِنْ بَنِي عُقَيْلٍ وَأَخَذُوا نَاقَةً لَهُ قد سَبَقَتِ الْحَاجَّ فِي الْجَاهِلِيَّةِ وَكَانَتِ النَّاقَةُ إِذَا سَبَقَتْ فِي الْجَاهِلِيَّةِ لَمْ يُمْنَعْ حَوْضٌ تَشْرُعُ فِيهِ وَلَا مِنْ كَلَأٍ رَعَا فِيهِ فَجَلَسَ الرَّجُلُ فِي مَكَانٍ فَمَرَّ بِهِ النَّبِيُّ ﷺ فَقَالَ يَا مُحَمَّدُ فِيمَا أُحْبَسُ أَنَا وَسَابِقَةُ الْحَاجِّ؟ فَقَالَ «حَبَسْنَاكَ بِجَرِيرَةِ حُلَفَائِكَ ثَقِيفٍ» فَذَكَرَ الْحَدِيثَ