It is narrated from Sayyiduna Abu Umamah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever is first to give the greeting of peace (salam) is closest to Allah and His Messenger."
Hadith Referenceالمعجم الكبير للطبراني / باب الصاد / 7712