Abdullah bin Umar reported,

The Prophet ﷺ said, "Whoever swears an oath, let him swear only by Allah." The Quraysh used to swear by their forefathers, so he said, "Do not swear by your forefathers."

Azami 7084

Sahih

عن عبد الله بن عمر

عن النبي ﷺ قال: ألا من كان حالفا فلا يحلف إلا بالله فكانت قريش تحلف بآبائها، فقال: لا تحلفوا بآبائكم

الأعظمي 7084صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Oaths and vows
Chapter
Faith
Section
Prohibition of swearing by fathers, mothers, and by other than Allah
Numbering
Jami al-Kamil 7084 (2nd edition)
Azami 7084