Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Do not swear by your fathers, nor by your mothers, nor by rivals set up beside Allah. Do not swear except by Allah, and do not swear by Allah unless you are truthful."

Azami 7086

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: لا تحلفوا بآبائكم، ولا بأمهاتكم، ولا بالأنداد، ولا تحلفوا إلا بالله، ولا تحلفوا بالله إلا وأنتم صادقون.

الأعظمي 7086صحيح
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 7086 (2nd edition)
Azami 7086