ENOfficial
It was narrated that ‘Ali (رضي الله عنه) said: The Messenger of Allah (ﷺ) said on the day of Badr: “whoever you can capture of Banu `Abdul-Muttalib, capture him (and do not kill him), for they were forced to come out.”
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا أَبُو سَعِيدٍ، حَدَّثَنَا إِسْرَائِيلُ، عَنْ أَبِي إِسْحَاقَ، عَنْ حَارِثَةَ بْنِ مُضَرِّبٍ، عَنْ عَلِيٍّ، رَضِيَ اللَّهُ عَنْهُ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَوْمَ بَدْرٍ مَنْ اسْتَطَعْتُمْ أَنْ تَأْسِرُوهُ مِنْ بَنِي عَبْدِ الْمُطَّلِبِ فَإِنَّهُمْ خَرَجُوا كُرْهًا.
sunnah.com