Abu Saeed Khudri reported,

The Prophet ﷺ delivered a sermon and said, "Allah has given a servant the choice between this world and what is with Him, and that servant has chosen what is with Allah."Abu Bakr al-Siddiq رضي الله عنه began to weep, so I said to myself, "What makes this old man weep? If Allah has given a servant the choice between this world and what is with Him, and the servant chose what is with Allah, then the servant is the Messenger of Allah ﷺ himself."Abu Bakr was the most knowledgeable of us.The Prophet ﷺ said, "Abu Bakr, do not weep. The most generous of people toward me with his companionship and his wealth is Abu Bakr. If I were to take a close friend from my community, I would take Abu Bakr, but the brotherhood of Islam and its affection suffice. Let no door remain open into the mosque except the door of Abu Bakr."

Bukhari 466

Sahih

حدثنا محمد بن سنان قال حدثنا فليح قال حدثنا أبو النضر عن عبيد بن حنين عن بسر بن سعيد

عن أبي سعيد الخدري قال

خطب النبي ﷺ فقال إن الله خير عبدا بين الدنيا وبين ما عنده فاختار ما عند الله فبكى أبو بكر الصديق رضي الله عنه فقلت في نفسي ما يبكي هذا الشيخ إن يكن الله خير عبدا بين الدنيا وبين ما عنده فاختار ما عند الله فكان رسول الله ﷺ هو العبد وكان أبو بكر أعلمنا قال يا أبا بكر لا تبك إن أمن الناس علي في صحبته وماله أبو بكر ولو كنت متخذا خليلا من أمتي لاتخذت أبا بكر ولكن أخوة الإسلام ومودته لا يبقين في المسجد باب إلا سد إلا باب أبي بكر

البخاري 466صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Prayer
Chapter
Wicket gate and passageway in the masjid
Numbering
Darussalam 466
Bukhari 466