The Prophet (peace and blessings be upon him) said: "Every oath that is sworn by other than Allah is shirk (associating partners with Allah)."