Hadith 1711
Ibn 'Umar (May Allah be pleased with them) said: I heard a man saying: "No, by the Ka'bah." I admonished him: "Do not swear by any thing besides Allah, for I heard the Messenger of Allah (ﷺ) saying, 'He who swears by anyone or anything other than Allah, has indeed committed an act of Kufr or Shirk'."