VERILY, [O you who believe in Me,] this community of yours is one single community, since I am the Sustainer of you all: worship, then, Me [alone]!
Al-Anbiya (The Prophets) Verse 92
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.
Sahih Bukhari: Volume 1, Book 3, Number 94