عَبْدُ اللهِ بْنُ الْحَارِثِ، عَنْ جُنْدُبٍ
[Machine] He ﷺ said that he heard the Prophet ﷺ before his death saying, "I had brothers and friends among you, and I disassociate myself with Allah from having any close friend among you. And if I were to take a close friend from my nation, I would have chosen Abu Bakr as a close friend. Indeed, my Lord has taken me as a close friend, just as He took Ibrahim as a close friend. Know that those before you used to take the graves of their prophets and righteous ones as places of worship, so do not take the graves as places of worship. Verily, I forbid you from doing so."
أَنَّهُ سَمِعَ النَّبِيَّ ﷺ قَبْلَ مَوْتِهِ بِخَمْسٍ يَقُولُ «قَدْ كَانَ لِي مِنْكُمْ إِخْوَةٌ وأَصْدِقَاءُ وَإِنِّي أَبْرَأُ إِلَى اللهِ أَنْ يَكُونَ لِي مِنْكُمْ خَلِيلٌ وَلَوْ كُنْتُ مُتَّخِذًا خَلِيلًا مِنْ أُمَّتِي لَاتَّخَذْتُ أَبَا بَكْرٍ خَلِيلًا وَإِنَّ رَبِّي ﷻ قَدِ اتَّخَذَنِي خَلِيلًا كَمَا اتَّخَذَ إِبْرَاهِيمَ خَلِيلًا أَلَا وَإِنَّ مَنْ كَانَ قَبْلَكُمْ كَانُوا يَتَّخِذُونَ قُبُورَ أَنْبِيَائِهِمْ وَصَالِحِيهِمْ مَسَاجِدَ فَلَا تَتَّخِذُوا الْقُبُورَ مَسَاجِدَ فَإِنِّي أَنْهَاكُمْ عَنْ ذَلِكَ»