Sayyiduna Imran bin Husayn (may Allah be pleased with him) says that the Prophet (peace and blessings be upon him) gave one man of the polytheists as ransom for two men of the Muslims. Sufyan says: (That is,) the Prophet (peace and blessings be upon him) took two men of the Muslims and gave one man of the polytheists. [Sahih. It has preceded.]
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 18038