Narrated by Anas:
"Whenever the Prophet asked permission to enter, he knocked the door thrice with greeting and whenever he spoke a sentence (said a thing) he used to repeat it thrice."- Hadith Bukhari 1:3:94