Abdullah bin Busr reported,

Whenever the Messenger of Allah ﷺ came to someone's door, he would not stand directly facing it, but would position himself to its right or left side, saying, "Peace be upon you, peace be upon you." This was because in those days the houses did not have curtains over their doorways.

Azami 14207

Hasan

عن عبد الله بن بسر قال

كان رسول الله ﷺ إذا أتى باب قوم لم يستقبل الباب من تلقاء وجهه، ولكن من ركنه الأيمن، أو الأيسر، ويقول: السلام عليكم، السلام عليكم وذلك أن الدور لم يكن عليها يومئذ ستور.

الأعظمي 14207حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of seeking permission and greetings
Section
One seeking permission should not face the door directly
Numbering
Jami al-Kamil 14207 (2nd edition)
Azami 14207