Sayyiduna Salim bin Ubayd (may Allah be pleased with him), who was one of the People of the Suffah, reports that when the Messenger of Allah (peace and blessings be upon him) passed away, Sayyiduna Abu Bakr al-Siddiq (may Allah be pleased with him) went in to him, then came out. It was said to him: "Has the Messenger of Allah (peace and blessings be upon him) passed away?" He said: "Yes." So all of them became certain that he (peace and blessings be upon him) had passed away. Then it was said: "How will his (peace and blessings be upon him) funeral prayer be offered?" He said: "People will enter group by group and invoke blessings (pray)." And the people understood it to be as Sayyiduna Abu Bakr al-Siddiq (may Allah be pleased with him) had said. Then they asked: "Will he be buried, and where will he be buried?" Sayyiduna Abu Bakr al-Siddiq (may Allah be pleased with him) said: "He will be buried in the very place where Allah took his soul, for Allah takes his soul only in a pure place." And the people knew that the matter was just as he was saying.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 6906