Is it permissible to swear by the Qur'an, or by other than Allah?
It is permissible to swear by the Qur’an, because it is the Speech of Allah; and His Speech is one of His Attributes. (Part No. 1; Page No. 358) However, it is not permissible to swear by other than Allah, because the Prophet (peace be upon him) said:
Whoever swears by anyone other than Allah has committed Shirk (associating others with Allah in His Divinity or worship).
May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.