It is narrated from Sayyiduna Sa'd bin Ubadah (may Allah be pleased with him) that he asked permission to enter while facing the door, so the Prophet (peace and blessings be upon him) said to him: "Do not ask permission while facing the door."
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 5374