Umar bin Khattab reported,

I came and found the Messenger of Allah ﷺ in an upper chamber of his, with a black servant of the Messenger of Allah ﷺ at the top of the stairs. I said to him, "Tell him this is Umar bin Khattab," and he gave me permission to enter.

Bukhari 7263

Sahih

حدثنا عبد العزيز بن عبد الله حدثنا سليمان بن بلال عن يحيى عن عبيد بن حنين سمع ابن عباس

عن عمر رضي الله عنهم قال

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

البخاري 7263صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Reports of single narrators
Chapter
Allah's saying, "Do not enter the houses of the Prophet unless permission is given to you"
Numbering
Darussalam 7263
Bukhari 7263