Wa `alaykum As-Salamu wa Rahmatullahi wa Barakatuh.
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
Dear brother in Islam, we would like to thank you for showing keenness on knowing the teachings of Islam, and we appreciate the great confidence you have in us. We hope our efforts meet your expectations.
The term “wali” (a friend of Allah) applies to anyone who believes sincerely in Allah Almighty and is conscious of Him in all his actions. Whoever fails to meet this condition and claims to be a “wali” of Allah is in fact a “wali” of Satan.
Hence, it is totally unacceptable that a Muslim who does not fulfil the requirements of his religion to claim that he is a wali. He should first be a good practising Muslim.
Regarding your question, Sheikh `Atiyyah Saqr, former head of Al-Azhar Fatwa Committee, states:
The term wali stands for anyone who fulfils the obligations Allah has levied on him, and as such he is protected by Allah on that basis. Allah says in the Qur’an,
“Lo! Verily the friends of Allah are (those) on whom fear (cometh) not, nor do they grieve! Those who believe and keep their duty (to Allah).” (Yunus 10:62-64)
In these verses, Allah Almighty describes the wali as he who is amongst “…those who believe and keep their duty (to Allah).” That means he fulfils his obligations and carries out what Allah has ordained on him. Keeping one’s duty to Allah means to comply with His commands and stay away from what He forbids in all aspects of life: Islamic rituals, manners, business dealings, etc.
The reward of that commitment to Allah is also mentioned in the verse,
“On whom fear (come) not, nor do they grieve” meaning that they should not worry about their future, nor regret their past. Allah states elsewhere, “Theirs are good tidings in the life of the world and in the Hereafter.” (Yunus 10:64)
This indicates that Allah has protected them and taken care of their life and even the Hereafter (by granting them an abundant reward).
Based on what Sheikh `Atiyyah Saqr said, we would say that the denomination of “wali” (a friend of Allah) applies to anyone who believes sincerely in Allah, the Almighty, and is conscious of Him in all his actions. Whoever fails to meet this condition and claims to be a “wali” of Allah is in fact a “wali” of the Shaytan (Satan).
Here we should differentiate between two sects of people: those who guide to the path of Allah with knowledge and those who claim to be callers to Allah or saints, yet they are completely ignorant and they mislead the people. As for reliable scholars, they are the people who act according to the Qur’an and Sunnah and guide people to the right path, i.e. the path of Qur’an and Sunnah. They admonish the people and direct them to what benefits them in their life and in the Hereafter.
They are good examples for people to follow, for such people do not preach what they don’t practice in reality. In warning us from preaching what we don’t practice, Almighty Allah says,
“O you who believe! Why do you say that which you do not do? It is most hateful to Allah that you should say that which you do not do.” (As-Saff 61:2-3)
So, how could a Muslim be called a “wali” while he does not fulfil his obligations towards his family?! How could even a “wali” claim that he is no longer a human being and that he is talking Divine!
So, dear questioner, you should talk to that man and advise him sincerely by telling him the truth and clarifying the true meaning of “wali”. If he does not listen to you, then stay away from him and ask the people to do the same in order to avoid getting misled by him or dissuaded from the truth.
Allah Almighty knows best.