In one narration the words are: He narrates: I came to the Prophet (peace and blessings be upon him) while he was in a house. I stood facing the door and sought permission to enter, and the Prophet (peace and blessings be upon him) gestured to me to move a little away. Then I came again and sought permission, and the Prophet (peace and blessings be upon him) said: "The command to seek permission is only so that the gaze does not fall (inside)."
Imam al-Tabarani recorded it, and the narrators of the second narration are the narrators of the Sahih.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الأدب / 12809
Hadith Gradingمحدثین:إسنادہ صحیح
Hadith Takhrij«اخرجه الطبراني فى المعجم الكبير (5386)»