A man asked the Prophet , "What sort of deeds or (what qualities of) Islam are good?" The Prophet replied, 'To feed (the poor) and greet those whom you know and those whom you do not Know
Sahih Bukhari: Volume 1, Book 2, Number 11
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