Sahih al-Bukhari, Hadith 3836 ⓘ
Narrated Ibn `Umar: The Prophet said, "If anybody has to take an oath, he should swear only by Allah." The people of Quraish used to swear by their fathers, but the Prophet said, "Do not swear by your fathers. "
حَدَّثَنَا قُتَيْبَةُ، حَدَّثَنَا إِسْمَاعِيلُ بْنُ جَعْفَرٍ، عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ، عَنِ ابْنِ عُمَرَ ـ رضى الله عنهما ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " أَلاَ مَنْ كَانَ حَالِفًا فَلاَ يَحْلِفْ إِلاَّ بِاللَّهِ ". فَكَانَتْ قُرَيْشٌ تَحْلِفُ بِآبَائِهَا، فَقَالَ " لاَ تَحْلِفُوا بِآبَائِكُمْ ".
also referenced under: Book 63, Hadith 62 (In-Book) & Volume 5, Book 58, Hadith 177 (USC-MSA)