It is narrated from Hazrat Imran bin Husain (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) took back two Muslims in exchange for the ransom of a man from among the polytheists "who belonged to Banu Uqayl."
Hadith Referenceمسند احمد / أول مسند البصريين / 19879