Shaykh al-Islām—may Allah have mercy on him—said:
Section
As for the graves of the prophets, the grave whose location scholars agree upon is that of the Prophet, may Allah bless him and grant him peace. Knowledge of his grave has been transmitted through numerous independent channels, as has knowledge of the graves of his two companions.
As for the grave of Abraham, Allah’s intimate friend, most people hold that the well-known site is indeed his grave, although some have denied this. Such a denial has been attributed to Mālik, who reportedly said, “There is no prophet’s grave anywhere in the world whose location is known except the grave of our Prophet, may Allah bless him and grant him peace.” Nevertheless, most people hold that this is Abraham’s grave, and there is abundant evidence for it. The People of the Book likewise recognize it as his grave.
However, there is no religious benefit in knowing the precise locations of the prophets’ graves, nor is preserving this knowledge part of the religion. Had it been part of the religion, Allah would have preserved it as He has preserved the rest of the religion. Most people who ask about this seek only to pray at these graves, offer supplications there, and engage in similar forbidden religious innovations.
As for someone whose intention is to invoke blessings and peace upon the prophets, believe in them, and keep their memory alive, he can do so even if he does not