Sahih Bukhari
Asking Permission
Volume: 008 / Book Number: 074 / Hadith Number: 251
Narrated Abu Huraira:
Allah's Apostle said, "The riding one should greet the walking one, and the walking one should greet the sitting one, and the small number of persons should greet the large number of persons."