عن ابْنِ عُمَرَ رضي الله عنهما أنه سَمِعَ رَجُلًا يَقُولُ: لَا وَالْكَعْبَةِ، فَقَالَ ابْنُ عُمَرَ: لَا يُحْلَفُ بِغَيْرِ اللَّهِ، فَإِنِّي سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «مَنْ حَلَفَ بِغَيْرِ اللهِ فَقَدْ كَفَرَ أَوْ أَشْرَكَ».
The Prophet (may Allah's peace and blessings be upon him) informs that whoever swears by other than Allah and His names and attributes has disbelieved in Allah or associated partners with Him. This is because swearing entails extolment of the one by whom swearing is done, whereas all greatness belongs to Allah alone. So, we must only swear by Allah, His names, and attributes. This type of swearing falls under minor polytheism.
However, if the swearer extols what he swears by like the extolment of Allah or greater, then his swearing constitutes major polytheism.
Download for free and never miss a prayer again