General Context
The preceding verses warned against an allegiance that leads to betrayal of faith. They exposed the hypocrites who looked to the Muslims' opponents for protection against a reversal of fortune, then declared that Allah can replace those who turn away with people whom He loves and who love Him. This verse establishes the source of the believer's allegiance, support, and security. It takes him out of a corrupted allegiance and into one firmly grounded in his bond with Allah, His Messenger, and the community of believers. There he need not face his fears alone. The movement of the passage is now complete. Having dealt with the corruption of allegiance and brought its motives to light, and having portrayed those who are sincere in theirs, it comes to the foundation on which a believer's life should be set straight.
Ibn Ashur drew attention to this close connection. “The sentence { إنّما وليّكم الله ورسوله } — ‘Your ally is none but Allah and [therefore] His Messenger’ (5:55) — and what follows it are connected to the sentence { يأيّها الّذين آمنوا لا تَتّخذوا اليهود والنّصارى أولياء بعضهم أولياء بعض } — ‘O you who have believed, do not take the Jews and the Christians as allies. They are [in fact] allies of one another.’ (5:51).” Al-Tahrir wa-l-Tanwir — Muhammad al-Tahir Ibn Ashur. In this place the verse belongs to the discussion of allegiance that occupies the passage. After forbidding a kind of allegiance, it establishes the allegiance worthy of serving as a foundation for relationships among believers.
It is reported in accounts of the circumstances of revelation that Ubadah ibn al-Samit (may Allah be pleased with him) disavowed his alliance with the Jews of Banu Qaynuqa when they fought the Messenger of Allah (peace and blessings be upon him). He said that he gave allegiance to Allah, His Messenger, and the believers. Other reports concern Abd Allah ibn Salam and his companions from among the People of the Scripture who had embraced Islam. It was hard for them when their people shunned them after their conversion, and in this verse they found reassurance and a new sense of belonging that made up for the social ties they had lost. Another account relates that Ali ibn Abi Talib (may Allah be pleased with him) gave his ring in charity while bowing. A number of exegetes connected it to Allah's words ﴿وَهُمْ رَٰكِعُونَ﴾ — “and they bow [in worship].” (5:55).
Al-Tabari brought the different reports together in his commentary. “The exegetes differed about who is meant by it. Some said that Ali ibn Abi Talib was meant, and some said that it meant all the believers.” Jami' al-Bayan 'an Ta'wil Ay al-Qur'an — Muhammad ibn Jarir al-Tabari. This observation matters because the verse has been the subject of extensive discussion in interpretation and theology, especially about the meaning of wilayah, the identity of the believers referred to, and the meaning of bowing. Intellectual honesty requires presenting each view with the care it deserves. The debate must leave visible the clear meaning that connects allegiance with faith, prayer, and zakah.
Rhetorical Outpourings
The verse begins with the restrictive particle ﴿إِنَّمَا﴾, whose force is expressed in “Your ally is none but Allah” (5:55). It affirms allegiance to Allah, His Messenger, and the believers while excluding allegiance contrary to that bond in the setting of the verse. The restriction answers what went before about taking opponents of the faith as allies in matters of support and alignment. Extending it to forbid every human connection or just dealing with non-Muslims would disregard what the Qur'an establishes elsewhere about kindness, equity, and honoring covenants. Taken together, the verses teach that the allegiance that safeguards faith and rests on sincere support cannot be bargained away to those who fight it or lie in wait for it.
One subtlety of expression is that ﴿وَلِيُّكُمُ﴾ — “Your ally” (5:55) — is singular, though three are named after it, Allah, His Messenger, and the believers. Al-Zamakhshari took the singular to point to the source and foundation of allegiance. “The underlying expression is ‘Your ally is none but Allah’ (5:55). Allegiance was affirmed of Allah in the primary sense. The affirmation of allegiance to Allah's Messenger (peace and blessings be upon him) and the believers was then joined to it as something that follows from it.” Al-Kashshaf 'an Haqa'iq Ghawamid al-Tanzil — Mahmud ibn Umar al-Zamakhshari. Allah’s own guardianship is the foundation. The authority and protection of the Messenger (peace and blessings be upon him) come from the message, the guidance, and the right to be obeyed that Allah gave him. The believers' allegiance to one another follows from their being joined in faith, support, and mercy. Al-Samin al-Halabi gave another, linguistic explanation. Wali belongs to the fa'il pattern, which can have the same form for singular and plural. The expression can thus be understood on both rhetorical and linguistic grounds, each consistent with the other.
The relative clause ﴿ٱلَّذِينَ يُقِيمُونَ ٱلصَّلَوٰةَ وَيُؤْتُونَ ٱلزَّكَوٰةَ﴾ — “those who establish prayer and give zakah” (5:55) — describes the believers who live up to this allegiance. The words used are ﴿يُقِيمُونَ ٱلصَّلَوٰةَ﴾ — “establish prayer” (5:55), beyond the bare verb “pray.” Establishing prayer entails keeping it faithfully and observing its duties, essential elements, and proper etiquette. Prayer is joined to zakah. The verse thus brings together an act of worship that binds a servant to his Lord and an act that binds him to fellow believers through the right others have in his wealth and the duty of mutual care. Both are among the most visible practices through which sincerity of faith appears in individual and communal life. The Qur'an mentions them together in many places to emphasize how a sound relationship with Allah goes hand in hand with giving His servants their rights.
The exegetes offered several readings of ﴿وَهُمْ رَٰكِعُونَ﴾ — “and they bow [in worship].” (5:55). Some took bowing as a way of referring to the whole prayer, singled out because of its honor. Some took it as reverence and submission. They pray and give zakah as people who yield to Allah's command and humble themselves before Him. Some read it as a circumstantial clause describing the subject of ﴿يُؤْتُونَ﴾ — “give zakah” (5:55). They give in charity while bowing in prayer, in keeping with the account about Ali (may Allah be pleased with him). On the last reading, the waw introduces a circumstantial clause. On the reading that makes bowing a constant quality of the believers, the clause can join the preceding descriptions. The range is worth preserving. At its root bowing is an attitude of worship and submission. It can stand for prayer or humility, and the interpretation rests on what language, context, and the accounts that have come down to us support.
Interpretive and Reflective Outpourings
The verse raises an important question about what wilayah means. Does it mean support, affection, and belonging in faith, or guardianship, leadership, and authority to direct affairs? Many Sunni exegetes thought support and affection best fit the surrounding verses, which discuss alliances, allegiance, and mutual aid. Fakhr al-Din al-Razi made this particularly clear. He held that wilayah here should be understood in a sense corresponding to the kind forbidden in the surrounding verses. The believers accordingly support and love one another, and give their allegiance to Allah and His Messenger, as He says, glory be to Him, ﴿وَٱلْمُؤْمِنُونَ وَٱلْمُؤْمِنَٰتُ بَعْضُهُمْ أَوْلِيَآءُ بَعْضٍ﴾ — “The believing men and believing women are allies of one another.” (9:71).
Imami exegetes, among them Shaykh al-Tusi in Al-Tibyan fi Tafsir al-Qur'an and al-Tabrisi in Majma' al-Bayan li-Ulum al-Qur'an, took wilayah here to include authority over affairs and the Imamate. They understood the people referred to in ﴿وَٱلَّذِينَ ءَامَنُواْ﴾ — “and those who have believed” (5:55) — to mean Ali ibn Abi Talib (may Allah be pleased with him). They relied on the accounts of his giving his ring while bowing and on their understanding of wali as the one with the prior right to direct affairs. They developed the grounds for this reading in language and transmitted reports. Other exegetes questioned the soundness of the chains of those accounts and how far the word implied the Imamate, particularly the Imamate immediately after the Messenger (peace and blessings be upon him).
The reports about the ring occur in a number of exegetical and hadith works through different chains. Hadith scholars and exegetes disagreed about the chains' soundness. Ibn Kathir deemed them weak in Tafsir al-Qur'an al-Azim. Al-Tusi and al-Tabrisi argued that the appearance of the report in both Sunni and Imami lines of transmission warranted accepting the underlying account. Two questions must be kept distinct, whether the giving while bowing took place and whether it implies a particular kind of wilayah. Establishing the event, for those who accept it, does not by itself settle the linguistic and doctrinal disagreement over the meaning of wilayah. As to the general reach of the verse, when Abu Ja'far Muhammad al-Baqir was asked about its having been revealed concerning Ali (may Allah be pleased with him), he is reported to have replied, “Ali is among those who believed,” as reported in Jami' al-Bayan — Muhammad ibn Jarir al-Tabari. The statement affirms Ali's share in the distinction of the believers, leaving open the other aspects of the debate about the occasion of revelation and the Imamate.
In its general guidance the verse shows an allegiance that passes from words of belonging into a practical commitment to trustworthiness, worship, and giving. The believer who establishes prayer and gives zakah does not store up faith as a private possession. Its effect appears both in his relationship with Allah and in his responsibilities to others. This helps explain why prayer and zakah belong in a verse about allegiance. Someone who lives by sincere worship and acts generously toward people in need is better able to fulfill the rights of fellowship and mutual support, and less disposed to treat a relationship as a passing advantage.
Spiritual Outpourings
﴿إِنَّمَا وَلِيُّكُمُ ٱللَّهُ﴾ — “Your ally is none but Allah” (5:55). These words open a great door to peace in the heart. A believer remembers that he has a Lord who cares for his affairs with knowledge, mercy, and wisdom. He is never left dependent on the limited power of other people or on their changing circumstances. Divine protection leaves room for trials, and not every wish will come true as a person desires. Allah tests those close to Him and gives them His help. He guides them to what is good for them even when it differs from something they wished for. The servant finds in faith in Allah the source of hope, in following His Messenger the path to guidance, and in fellowship with believers help in standing firm and obeying.
Al-Qushayri expressed the primary sense of wali in the words “The protector, that is, the one who gives support.” Lata'if al-Isharat — Abd al-Karim ibn Hawazin al-Qushayri. Divine help takes forms beyond a victory people can see. It includes being enabled to find the truth, having one's heart made firm amid trials, receiving help to carry out a duty, and being protected from the causes of error. When a believer feels the truth of these things, he continues to rely on people's help where appropriate and to use the means at his disposal. He places his trust in human beings where it belongs. He does not make their approval the measure of his religion or seek their protection at the price of abandoning a trust.
The heart pauses over the way those whom Allah makes worthy of this allegiance are described by prayer, zakah, and bowing, beyond any abundance of claims. In prayer a person renews his servitude to his Lord. In zakah he frees himself from some of the hold of wealth on his soul. In bowing he remembers that true dignity goes together with submission to Allah. How beautiful when these meanings meet in one person, who worships Allah sincerely, shows tenderness to His servants, and gives wealth its due without reminding people of his favors or exalting himself above them. Sayyid Qutb connected the establishment of prayer to its fruit in character. “It is among their qualities that they establish prayer, going beyond the mere performance of it.” Fi Zilal al-Qur'an — Sayyid Qutb Ibrahim Husayn al-Shadhili. Prayer worthy of being called established affects more than the movements of the body. It helps refine the self and purify one's deeds. The need to strive and take oneself to account remains, however far one goes in worship.
Psychological Outpourings
The account of Abd Allah ibn Salam and his companions reported by the exegetes in connection with the circumstances of revelation shows a deep human need to belong and be socially secure. They left the religion they had followed and faced their people's estrangement and boycott. It was hard to lose the relationships to which they had been accustomed. In such a setting allegiance in faith opens a new meaning of fellowship and support. Faith asks people to stand by what they believe and recognizes their need for a community that backs them and protects their dignity. It forms bonds within which a believer can find affection, counsel, and cooperation in hardship.
Sound belonging through faith should leave room for a person's individuality and independence of judgment. Mutual allegiance rests on standing together for what is right. It gives no one the right to demand acceptance of every opinion voiced by other members of the group. The mention of prayer and zakah in describing believers has significance for the inward life. Prayer cultivates self-control and directs a person to an authority beyond the group's desires. Zakah changes the relationship with another person from a search for what one can get to a willingness to give.
Bowing understood as submission and humility suggests that strength of belonging never requires people to put themselves above anyone who needs help or differs from them. Someone who gives to a poor person with his heart humble before Allah sees in the gift a right discharged and gratitude for a blessing. It gives him no grounds to regard himself as superior. This spirit safeguards the dignity of giver and recipient together. Wealth does not enslave the one who has it. The poor person does not feel that being in need costs him his place among people.
Pedagogical Outpourings
The verse makes prayer and zakah two prominent marks in the formation of the believing community. It teaches how education can bring an individual's uprightness together with social responsibility. Teaching worship without kindness to others may produce religious practice that barely touches relationships. Encouraging mutual care without forming the conscience may make giving depend on reputation or private advantage. Joining prayer to zakah makes worship and generosity partners in forming someone fit to be a trustworthy brother one can turn to for help.
Muhammad Abu Zahra noted this complementarity. “If prayer is the source of spiritual fellowship, zakah is the expression of pure material cooperation.” Zahrat al-Tafasir — Muhammad Abu Zahra. Prayer makes people conscious that they share a state of servitude to Allah. Zakah gives that consciousness practical form in a right that reaches someone in need and eases the burdens of his life. Fellowship then becomes apparent in giving people their rights, coming to the aid of the distressed, and looking after those who meet with hardship. It goes beyond an expression voiced at gatherings.
The verse also teaches humility in doing good. A person who gives to someone in need should never see himself as giving an unqualified favor. Wealth is a blessing from Allah and the poor person has a right in it that Allah Himself has laid down. If ﴿وَهُمْ رَٰكِعُونَ﴾ — “and they bow [in worship].” (5:55) — is understood as reverence, the description teaches that the heart should remain subject to Allah while one gives to others. If it is understood in light of the account of giving while bowing, those who consider the report sound find in it a reason to do good promptly. It does not establish giving charity during prayer as a practice of the Sunnah to be undertaken deliberately.
This education also teaches believers to urge one another to truth and patience, and to make their fellowship one in which they give one another honest counsel. It has little to do with being agreeable and remaining silent about mistakes. Al-Sha'rawi captured this side of the matter. “Each of them at one time gives counsel and at another receives it.” Khawatir hawl al-Qur'an al-Karim — Muhammad Mutawalli al-Sha'rawi. In a sound community the weak find someone to take them by the hand. Someone who errs finds someone to advise him gently and fairly. Someone who is wronged finds someone to help him recover his right. Its members still have their weaknesses.
Contemporary Outpourings
The verse speaks anew in societies where belonging can become a slogan unaccompanied by real solidarity or respect for what people are owed. Many groups are intent on presenting a united face but fall short in protecting those who are weak or leave some of their own to face poverty and isolation without help. The mention of prayer and zakah in describing the believers' allies establishes that sincerity of belonging is inseparable from what one does. Allegiance brings a feeling of shared identity into a readiness to carry responsibilities, help the person in need, keep a trust, and stand with anyone who has a rightful claim.
The meaning gains force in societies where Muslims live amid religious and cultural diversity. Upholding allegiance through faith leaves room for lawful human ties with others and requires honoring covenants and protecting their rights. It asks a believer to have a clear religious authority, refuse prohibited support, betrayal, and aggression, and practice justice, kindness, and useful cooperation where Allah permits them. The Qur'an establishes this in ﴿لَّا يَنْهَىٰكُمُ ٱللَّهُ عَنِ ٱلَّذِينَ لَمْ يُقَٰتِلُوكُمْ فِى ٱلدِّينِ وَلَمْ يُخْرِجُوكُم مِّن دِيَٰرِكُمْ أَن تَبَرُّوهُمْ وَتُقْسِطُوٓاْ إِلَيْهِمْ﴾ — “Allah does not forbid you from those who do not fight you because of religion and do not expel you from your homes - from being righteous toward them and acting justly toward them.” (60:8).
In institutions and social life, such guidance can help build ties grounded in trustworthiness and mutual care in place of personal loyalties traded for favors. Where the values of prayer and zakah appear sincerely, a society ties an upright conscience to people's rights. It gives the strong no reason for arrogance and does not abandon someone because he is weak. This becomes clearer when we recall that mutual allegiance among believers is a special obligation of religious fellowship that coexists with the general duty of justice and kindness toward all people. It gives no group a monopoly on mercy.
The verse thus portrays the allegiance Allah wants for His servants. It is a relationship with Him, glory be to Him, that gives light to the conscience, a following of His Messenger (peace and blessings be upon him) that keeps one's course straight, and a fellowship among believers that shows in worship, support, giving, and humility. Its worth is seen in what this allegiance actually produces: faithful prayer, zakah duly paid, and hearts humble before Allah. A strong declaration by itself cannot show that worth. When these meanings are right, a believer is truly an ally to his brother in deed as well as name. He supports him in weakness, counsels him when he errs, helps him in need, and knows for certain that all allegiance comes back to Allah. He is the source of help, guidance comes from Him, and to Him is the return and final end.
﴿إِنَّمَا وَلِيُّكُمُ ٱللَّهُ وَرَسُولُهُۥ وَٱلَّذِينَ ءَامَنُوا۟ ٱلَّذِينَ يُقِيمُونَ ٱلصَّلَوٰةَ وَيُؤْتُونَ ٱلزَّكَوٰةَ وَهُمْ رَٰكِعُونَ﴾
Your ally is none but Allah and [therefore] His Messenger and those who have believed - those who establish prayer and give zakah, and they bow [in worship]. (5:55)