Abdullah bin Umar reported,

The Prophet ﷺ heard Umar saying, "By my father, by my father." He said, "Indeed, Allah forbids you from swearing by your fathers."Umar said, "By Allah, I never swore by him after that, neither speaking on my own nor quoting another."

Tirmidhi 1533

Sahih

حدثنا قتيبة حدثنا سفيان عن الزهري

عن سالم عن أبيه

سمع النبي ﷺ عمر وهو يقول وأبي وأبي فقال ألا إن الله ينهاكم أن تحلفوا بآبائكم فقال عمر فوالله ما حلفت به بعد ذلك ذاكرا ولا آثرا

الترمذي 1533صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Vows and oaths
Chapter
Disliking swearing by other than Allah
Numbering
Darussalam 1533
Tirmidhi 1533