Hadith 2502
It is narrated from Sayyiduna Imran bin Husain (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) released a man by taking ransom for two men (i.e., he released one disbeliever in exchange for two Muslim prisoners).