Generally speaking, Muslims should help and seek assistance from Allah. No one except Allah can avail or harm. Therefore, we should direct our hearts to Him, seeking His blessings, help, aid, etc. Many people who visit graves of saints do commit mistakes, knowingly or unknowingly. Muslim scholars should educate and teach them so that they will not violate the teachings of Islam.
In this regard, we’d like to cite the fatwa issued by Sheikh `AtiyyahSaqr, former head of Al-Azhar Fatwa Committee, which reads: It is well known that when one loves somebody one loves all that is related to him. Such an innate human characteristic is not opposed by religion; rather, it is guided in two ways. The first is choosing those who deserve that love and veneration and the second is not violating the principles of religion in expressing this love or in any of its consequences. Following are some practices which are against religion:
1- Going round the grave is blameworthy because it is an imitation of circumambulating the Ka`bah.
2- Seeking blessings by touching or kissing the grave and the like. Imam Al-Ghazali states that touching and kissing graves is not stated in the Sunnah and it is better to stand at a distance from the grave.
3- Seeking help from the dead: When one performs du`a (supplications) at graves, one must direct such du`a to Allah alone for He alone is capable of granting help and warding off harm.
It is forbidden to direct the du`a to or seek the help of the one in the grave however venerated he may be. Moreover, performing du`a at his grave is not better or more likely to be answered than doing it elsewhere. IbnTaymiyyah was among those who expressed such opinion. He says: ‘Making supplications (du`a) at graves of the righteous thinking that the supplications are more likely to be answered than in any other place, is a practice that had never been done by the Prophet (peace and blessings be upon him) or any of his Companions, their successors, or the Imams of Islam and has never been mentioned or recommended by any of the righteous scholars.’
It may be better to prevent such a practice in order to dissuade people from invoking or seeking the help of others than Allah or even along with Him.