كتاب الأيمان
27  
The Book of Oaths
(1)
Chapter: The prohibition of swearing by something other than Allah
(1)
باب النَّهْىِ عَنِ الْحَلِفِ بِغَيْرِ اللَّهِ تَعَالَى ‏‏
Sahih Muslim 1646 c

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 1646c
In-book reference : Book 27, Hadith 3
USC-MSA web (English) reference : Book 15, Hadith 4037
  (deprecated numbering scheme)