Abdullah bin Umar reported,

Do not swear by anything other than Allah, for I heard the Messenger of Allah ﷺ say, "Whoever swears by other than Allah has committed disbelief or polytheism."

Tirmidhi 1535

Sahih

حدثنا قتيبة حدثنا أبو خالد الأحمر عن الحسن بن عبيد الله عن سعد بن عبيدة أن ابن عمر سمع رجلا يقول لا والكعبة

فقال ابن عمر

لا يحلف بغير الله فإني سمعت رسول الله ﷺ يقول من حلف بغير الله فقد كفر أو أشرك

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