Invoking the sun

A: Invoking the sun and appealing to it are kinds of major Shirk (associating others with Allah in His Divinity or worship that takes the Muslim out of Islam). What is mentioned in the question is a type of such major Shirk.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.