The Book of Oaths
27/1. Chapter:
The prohibition of swearing by something other than Allah
Sahih Muslim
وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَعَمْرٌو النَّاقِدُ، وَزُهَيْرُ بْنُ حَرْبٍ، قَالُوا حَدَّثَنَا سُفْيَانُ، بْنُ عُيَيْنَةَ عَنِ الزُّهْرِيِّ، عَنْ سَالِمٍ، عَنْ أَبِيهِ، قَالَ سَمِعَ النَّبِيُّ صلى الله عليه وسلم عُمَرَ وَهُوَ يَحْلِفُ بِأَبِيهِ . بِمِثْلِ رِوَايَةِ يُونُسَ وَمَعْمَرٍ .
Salim reported on the authority of his father that Allah's Apostle (ﷺ) heard 'Umar while he was taking oath by his father. The rest of the hadith is the same.
Reference : Sahih Muslim 1646cIn-book reference : Book 27, Hadith 3USC-MSA web (English) reference : Book 15, Hadith 4037