Translation
(83) Oaths and Vows
كتاب الأيمان والنذور
(4) Chapter: "Do not swear by your fathers"
(4) باب لاَ تَحْلِفُوا بِآبَائِكُمْ
Sahih al-Bukhari 6648 

Narrated `Abdullah bin `Umar:

Allah's Messenger (ﷺ) said, "Do not swear by your fathers."

حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ مُسْلِمٍ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ دِينَارٍ، قَالَ سَمِعْتُ عَبْدَ اللَّهِ بْنَ عُمَرَ ـ رضى الله عنهما ـ يَقُولُ قَالَ رَسُولُ اللَّهُ صلى الله عليه وسلم ‏ "‏ لاَ تَحْلِفُوا بِآبَائِكُمْ ‏"‏‏.‏
Reference : Sahih al-Bukhari 6648
In-book reference : Book 83, Hadith 27
USC-MSA web (English) reference : Vol. 8, Book 78, Hadith 643
  (deprecated numbering scheme)