Salim bin Ubayd reported,

Abu Bakr entered upon the Messenger of Allah ﷺ at the moment he died, then he came out. It was said to him, "Has the Messenger of Allah ﷺ passed away?"He replied, "Yes."So they knew that it was as he had said.Then it was asked, "Shall the funeral prayer be performed over him, and how is it to be performed?"He said, "They shall come in groups, one group after another, and pray."So they knew that it was as he had said. Then they asked, "Shall he be buried, and where?"He said, "In the place where Allah took his soul, for Allah does not take a soul except in a blessed place."So they knew that it was as he had said.

Azami 3699

Sahih

عن سالم بن عبيد وكان من أصحاب الصفة، قال

دخل أبو بكر على رسول الله ﷺ لحين مات ثم خرج، فقيل له: توفي رسول الله ﷺ؟ فقال: نعم، فعلموا أنه كما قال، وقيل: ويصلى عليه، وكيف يصلى عليه؟ قال: يجيئون عصبا عصبا فيصلون، فعلموا أنه كما قال فقالوا: هل يدفن؟ وأين؟ فقال: حيث قبض الله روحه، فإنه لم يقبض الله روحه إلا في مكان طيب، علموا أنه كما قال.

الأعظمي 3699صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Prayer over the deceased
Section
Groups praying the funeral prayer in succession
Numbering
Jami al-Kamil 3699 (2nd edition)