No, by my father. The Messenger of Allah ﷺ said: “Stop it! whoever swears by anything other than Allah has committed an act of shirk.ʿ
رَسُولُ اللهِ ﷺ مَهْ إِنَّهُ مَنْ حَلَفَ بِشَيْءٍ دُونَ اللهِ فَقَدْ أَشْرَكَ
No, by my father. The Messenger of Allah ﷺ said: “Stop it! whoever swears by anything other than Allah has committed an act of shirk.ʿ
رَسُولُ اللهِ ﷺ مَهْ إِنَّهُ مَنْ حَلَفَ بِشَيْءٍ دُونَ اللهِ فَقَدْ أَشْرَكَ
Ibn Umar heard a man swearing: No, I swear by the Ka'bah. Ibn Umar said to him: I heard the Messenger of Allah ﷺ say: He who swears by anyone but Allah is polytheist.
سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ مَنْ حَلَفَ بِغَيْرِ اللَّهِ فَقَدْ أَشْرَكَ
No, by my father. The Messenger of Allah ﷺ said: “Stop it! whoever swears by anything other than Allah has committed an act of shirk.ʿ (Using translation from Aḥmad 329)
رَسُولُ اللَّهِ ﷺ «لَا تَحْلِفُوا بِآبَائِكُمْ مَنْ حَلَفَ بِشَيْءٍ دُونَ اللَّهِ فَقَدْ أَشْرَكَ»
Ibn Umar heard a man swearing: No, I swear by the Ka'bah. Ibn Umar said to him: I heard the Messenger of Allah ﷺ say: He who swears by anyone but Allah is polytheist. (Using translation from Abū Dāʾūd 3251)
سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ «مَنْ حَلَفَ بِغَيْرِ اللَّهِ فَقَدْ أَشْرَكَ»
"مَنْ حَلَفَ بغَيرِ اللهِ فَقَدْ أَشْرَكَ".
. . . .