Imran bin Husain (may Allah be pleased with him) narrated that the Companions of the Messenger of Allah ﷺ captured a man from Banu Uqayl, while the people of Thaqif had captured two men from among the Companions of the Messenger of Allah ﷺ. The Prophet ﷺ exchanged that man for the two men whom the people of Thaqif had captured.
Hadith Referenceمسند الإمام الشافعي / كتاب الأسر والفداء وضرب الجزية وأخذها / 1766