Sahih al-Bukhari 7401

حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا وَرْقَاءُ، عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ، عَنِ ابْنِ عُمَرَ ـ رضى الله عنهما ـ قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم

" لاَ تَحْلِفُوا بِآبَائِكُمْ، وَمَنْ كَانَ حَالِفًا فَلْيَحْلِفْ بِاللَّهِ ".
Narrated Ibn `Umar:The Prophet (ﷺ) said, "Do not swear by your fathers; and whoever wants to swear should swear by Allah

Sahih al-Bukhari — Oneness, Uniqueness of Allah (Tawheed) — 7401