Making supplication and calling upon [Allah] is worship, and doing it to other than Allah is shirk
The word salah includes supplication (du’a), which is in reality the core of worship; asking (su’al) also falls under it. Therefore the word salah includes both supplication and asking. Drawing attention to this, Allah the Exalted says:
وَقَالَ رَبُّكُمُ ادْعُونِي أَسْتَجِبْ لَكُمْ ۚ إِنَّ الَّذِينَ يَسْتَكْبِرُونَ عَنْ عِبَادَتِي سَيَدْخُلُونَ جَهَنَّمَ دَاخِرِينَ ﴿٦٠﴾
“And your Lord has said: Supplicate to Me and I will answer your supplication. Those who turn away from My worship out of arrogance will soon enter Hell, humiliated.”
Allah the Exalted Himself explained supplication as asking, and commanded His beloved Prophet to say:
قُلْ إِنَّ صَلَاتِي وَنُسُكِي وَمَحْيَايَ وَمَمَاتِي لِلَّهِ رَبِّ الْعَالَمِينَ ﴿١٦٢﴾
“My prayer, my sacrifice, all my rites of servitude, my living and my dying are all for Allah, Lord of the worlds.”
Allah the Exalted commanded His beloved Prophet ﷺ that:
● He should supplicate to and implore only Allah the Exalted.
● He should pray for Him.
● He should build mosques for His pleasure.
● No mosque should be built over anyone’s grave.
● No mosque should be built for any occupant of a grave.
● And no journey should be undertaken toward any grave.
The Messenger of Allah ﷺ forbade traveling to any mosque other than the Aqsa Mosque and the Prophet’s Mosque, and he also forbade performing Hajj to any house other than the House of Allah.
The sayings of the Messenger of Allah ﷺ, his Sunnah, the way of the Rightly-Guided Caliphs, the actions of the noble Companions (may Allah be pleased with them), the way of life of the Tabi’un, and the lives of the four Imams give knowledge of the above rulings. Therefore it is not possible for anyone to prove from any one of the Imams of Islam that he said it is recommended to travel with the intention of visiting the grave of a prophet or a righteous person. Whoever wishes to prove this should present an authentic transmission of it. Since our statement, which we mentioned in our fatwas, has been established, it is established that whoever opposes it opposes the religion of Islam, the Sunnah of the Messenger, and the practice of the Rightly-Guided Caliphs. It would also be a denial of the Shari’ah and of the divine books for whose conveyance all the prophets were sent. That is: that the oneness of Allah be affirmed and that He be worshipped. Allah is One, having no partner. In the deeds that He has made obligatory or recommended, He is to be followed, and those acts and deeds that are not permitted in the true Shari’ah are never to be committed.