Qutb Shah, formally known as Abdullah Awn ibn Ya‘lā (عبداللہ عَوْن ابنِ یعلیٰ) (c. 1028–1099), was a ruler, medieval Persian Sufi, Muslim preacher and a religious scholar. He belonged to Alawid family of Banu Hashim tribe and was a relative of Abdul Qadir Gilani.
Initially, he belonged to the Imamia sect of Islam, but later he was influenced by the teachings of his cousin, Abdul Qadir Gilani, and ended up becoming a Hanbali-Zaydi. His Hanbali-Zaydi Sufi school tried to integrate perfectionism of commandments and agape-oriented activism. Ibn Arabi also tried this synergy by admiring Ibn Hazm which raised legal paradoxes and became controversial in ultranomian circles.
Qutb Shah, in first quarter of 11th century, ruled Herat (then Awan-e-Khurasan), where supposedly there was a power vacuum, and people made him their ruler due to his religious stature. After taking the throne of Herat, he also joined forces with Mahmud of Ghazni when Mahmud