كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(83)
Chapter: The sickness of the Prophet (saws) and his death
(83)
بَابُ مَرَضِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَوَفَاتِهِ
Sahih al-Bukhari 4441

Narrated `Urwa bin Az-Zubair:

`Aisha said, "The Prophet (ﷺ) said during his fatal illness, "Allah cursed the Jews for they took the graves of their prophets as places for worship." `Aisha added, "Had it not been for that (statement of the Prophet ) his grave would have been made conspicuous. But he was afraid that it might be taken as a place for worship."

حَدَّثَنَا الصَّلْتُ بْنُ مُحَمَّدٍ، حَدَّثَنَا أَبُو عَوَانَةَ، عَنْ هِلاَلٍ الْوَزَّانِ، عَنْ عُرْوَةَ بْنِ الزُّبَيْرِ، عَنْ عَائِشَةَ ـ رضى الله عنها ـ قَالَتْ قَالَ النَّبِيُّ صلى الله عليه وسلم فِي مَرَضِهِ الَّذِي لَمْ يَقُمْ مِنْهُ ‏ "‏ لَعَنَ اللَّهُ الْيَهُودَ، اتَّخَذُوا قُبُورَ أَنْبِيَائِهِمْ مَسَاجِدَ ‏"‏‏.‏ قَالَتْ عَائِشَةُ لَوْلاَ ذَلِكَ لأُبْرِزَ قَبْرُهُ‏.‏ خَشِيَ أَنْ يُتَّخَذَ مَسْجِدًا‏.‏
Reference : Sahih al-Bukhari 4441
In-book reference : Book 64, Hadith 462
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 725
  (deprecated numbering scheme)