Abdullah bin Abbas reported,

Umar was placed on his bier, and the people gathered around him, supplicating and praying for him before he was lifted up, and I was among them. Nothing startled me except a man who took hold of my shoulder, and there was Ali bin Abu Talib. He invoked mercy upon Umar and said, "You have left behind no one whose deeds I would more love to meet Allah with than yours. By Allah, I always thought that Allah would place you with your two companions, for I often used to hear the Prophet ﷺ say, 'Abu Bakr, Umar, and I went,' and 'Abu Bakr, Umar, and I entered,' and 'Abu Bakr, Umar, and I came out.'"

Bukhari 3685

Sahih

حدثنا عبدان أخبرنا عبد الله حدثنا عمر بن سعيد عن ابن أبي مليكة أنه سمع

ابن عباس يقول

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

البخاري 3685صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtues of the companions of the Prophet ﷺ
Chapter
Virtues of Umar bin Khattab Abu Hafs Qurashi Adawi رضي الله عنه
Numbering
Darussalam 3685
Bukhari 3685