Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:21759al-Ḥasan b. Sufyān > Abū Bakr > Ḥafṣ > al-Ashʿath > Abū al-Zubayr > Jābir

[Machine] They have what they took from it, meaning if they do not complete the ransom, then what they took belongs to them.  

البيهقي:٢١٧٥٩قَالَ وَحَدَّثَنَا الْحَسَنُ بْنُ سُفْيَانَ ثنا أَبُو بَكْرٍ ثنا حَفْصٌ عَنِ الْأَشْعَثِ عَنْ أَبِي الزُّبَيْرِ عَنْ جَابِرٍ قَالَ

لَهُمْ مَا أَخَذُوا مِنْهُ يَعْنِي إِذَا لَمْ يُكْمِلْ فَرُدَّ فِي الرِّقِّ فَمَا أَخَذَ فَلَهُ