The Prophet ﷺ said: If anyone makes two transactions combined in one bargain, he should have the lesser of the two or it will involve usury.
قَالَ النَّبِيُّ ﷺ مَنْ بَاعَ بَيْعَتَيْنِ فِي بَيْعَةٍ فَلَهُ أَوْكَسُهُمَا أَوِ الرِّبَا
The Prophet ﷺ said: If anyone makes two transactions combined in one bargain, he should have the lesser of the two or it will involve usury.
قَالَ النَّبِيُّ ﷺ مَنْ بَاعَ بَيْعَتَيْنِ فِي بَيْعَةٍ فَلَهُ أَوْكَسُهُمَا أَوِ الرِّبَا
[Machine] The Messenger of Allah ﷺ said, "Whoever sells two sales in one transaction, he shall have only one of them, or it would be usury." This hadith is authentic according to the conditions of Imam Muslim and it was not contradicted by Imam Muslim.
قَالَ رَسُولُ اللَّهِ ﷺ «مَنْ بَاعَ بَيْعَتَيْنِ فِي بَيْعَةٍ فَلَهُ أَوْكَسُهُمَا أَوِ الرِّبَا» صَحِيحٌ عَلَى شَرْطِ مُسْلِمٍ وَلَمْ يُخَرِّجَاهُ على شرط مسلم
The Prophet ﷺ said: If anyone makes two transactions combined in one bargain, he should have the lesser of the two or it will involve usury. (Using translation from Abū Dāʾūd 3461)
قَالَ رَسُولُ اللَّهِ ﷺ «مَنْ بَاعَ بَيْعَتَيْنِ فِي بَيْعَةٍ فَلَهُ أَوْكَسُهُمَا أَوِ الرِّبَا»
"مَنْ بَاعَ بَيعَتَين في بَيعَة فَلَهُ أَوْكَسهُمَا أَوْ الرَبا".