Hadith 27

Ibn Juraij said: My father told me that the Companions of the Prophet () did not know where to bury the Prophet () until Abu Bakr said: I heard the Messenger of Allah () say: `A Prophet is not to be buried except where he died.” So they removed his bed and dug a grave for him beneath

حَدَّثَنَا عَبْدُ الرَّزَّاقِ، قَالَ أَخْبَرَنِي ابْنُ جُرَيْجٍ، قَالَ أَخْبَرَنِي أَبِي أَنَّ أَصْحَابَ النَّبِيِّ، صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لَمْ يَدْرُوا أَيْنَ يَقْبُرُونَ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ حَتَّى قَالَ أَبُو بَكْرٍ رَضِيَ اللَّهُ عَنْهُ سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ لَنْ يُقْبَرَ نَبِيٌّ إِلَّا حَيْثُ يَمُوتُ فَأَخَّرُوا فِرَاشَهُ وَحَفَرُوا لَهُ تَحْتَ فِرَاشِهِ‏.‏

Reference: 5300270
In-book reference: Book 1, Hadith 27
Hadith 27 - Musnad Abu Bakr as-Siddiq (ra) - Musnad Ahmad - Sunnah.com