[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.
قَالَ رَسُولُ اللَّهِ ﷺ «مَنْ بَاعَ بَيْعَتَيْنِ فِي بَيْعَةٍ فَلَهُ أَوْكَسُهُمَا أَوِ الرِّبَا» صَحِيحٌ عَلَى شَرْطِ مُسْلِمٍ وَلَمْ يُخَرِّجَاهُ على شرط مسلم