Abdullah bin Umar reported,

The Messenger of Allah ﷺ came upon Umar bin Khattab رضي الله عنه while he was traveling with a caravan, swearing by his father. The Messenger of Allah ﷺ said, "Allah forbids you to swear by your fathers. Whoever swears, let him swear by Allah or else remain silent."

Malik 1067

Sahih

حدثني يحيى عن مالك عن نافع

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

أن رسول الله ﷺ أدرك عمر بن الخطاب رضي الله عنه وهو يسير في ركب وهو يحلف بأبيه فقال رسول الله ﷺ إن الله ينهاكم أن تحلفوا بآبائكم فمن كان حالفا فليحلف بالله أو ليصمت

مالك 1067صحيح
Contents
Reference
Commentary
Ayat
Collection
Muwatta Malik
Book
Vows and oaths
Numbering
Laithi 1067
Malik 1067