In al-Baqara 2:257, it says, “الله ولی ال ذین آمنوا,” and the narrations say that Imam Ali (AS) is at the head of the believers. So God is Ali’s wali. The question is: in what sense is Ali the wali of God?!
What Does “Ali Is the Wali of God” Mean?
The essence and first answer at a glance (60-word summary)
The phrase “Ali is the wali of God” means that Imam Ali (AS) was entrusted by God with authority and imamate over the people. This is like the phrase “Muhammad is the Messenger of God,” which means that the Prophet was given his messengership by God. In Arabic grammar, a preposition is understood between a noun in the construct state and the noun that follows it. Thus, “Ali wali Allah” means “Ali is a wali from God” or “Ali is a wali for God.”
Answer by Master Ali Saei (Abdullah Meshkat)
Teacher and researcher in the intellectual tradition of wisdom and the Ahl al-Bayt | Soroush Bamdadān Cultural Center«علی ولی الله»
An answer drawn from part of a debate
…In the Prophet’s Mosque, a Sunni man from Egypt asked me, “Do you Shia say «علی ولی الله»—that Ali is God’s wali?” I said, “Yes. What is wrong with that?” He said, “Does God need a wali?” I replied, “Don’t you say «محمد رسول الله صلی الله علیه وآله وسلم»?” He fell silent for a moment, then said, “Yes, we do.” I asked, “Does God need a messenger?” He said, “It means that «محمدصلی الله علیه وآله وسلم» has a mission from God [to convey to the people].” I said, “«علی ولی الله» likewise means that «علیعلیه السلام» has authority and the imamate over the people on God’s behalf.”
In Arabic usage, there is always an implied preposition between the first and second terms of a genitive construction. For example, «غلام زید» means «غلام لزید»—a servant belonging to Zayd, a servant for Zayd. Or «صلوه اللیل» means «صلوه فی اللیل»: a prayer associated with the night, performed at night.
«علی ولی الله» means «علی ولی من الله»: Ali (علیه السلام) is the guardian of the Muslim community on God’s behalf.