Volume 1 · Book 3 · Hadith 95
Whenever the Prophet spoke a sentence (said a thing), he used to repeat it thrice so that the people could understand it properly from him and whenever he asked permission to enter, (he knocked the door) thrice with greeting.
— Sahih Bukhari, Volume 1, Book 3: Knowledge, Hadith #95