«كان إذا أتى باب قوم لم يستقبل الباب من تلقاء وجهه ولكن من ركنه الأيمن أو الأيسر ويقول: السلام عليكم السلام عليكم»
It was the practice of the Prophet (peace and blessings be upon him):
"When he (peace and blessings be upon him) came to the door of a people, instead of standing directly facing the door, he would stand at its right or left side and say: As-salamu alaykum, as-salamu alaykum."
Hadith Referenceصحیح الجامع الصغیر / حرف الكاف / 4638
Hadith Gradingالألبانی:صحيح
Hadith Takhrij[حم د] عن عبد الله بن بسر. المشكاة ٤٦٧٢.