Hadithcore
Al-Adab Al-Mufrad, 980
sahih· Al-Albani

Abu Hurayra reported that the Prophet, (ﷺ), said, "You will not enter the Garden until you believe and you will not believe until you love one another. Shall I tell you something the doing of which will give you love of one another?" "Yes, Messenger of Allah," they replied. The Prophet (ﷺ) said, "Make the greeting common practice among you."

حَدَّثَنَا مُحَمَّدُ بْنُ عُبَيْدِ اللهِ، قَالَ‏:‏ حَدَّثَنَا ابْنُ أَبِي حَازِمٍ، وَالْقَعْنَبِيُّ، عَنْ عَبْدِ الْعَزِيزِ، عَنِ الْعَلاَءِ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ‏:‏ لاَ تَدْخُلُوا الْجَنَّةَ حَتَّى تُؤْمِنُوا، وَلاَ تُؤْمِنُوا حَتَّى تَحَابُّوا، أَلاَ أَدُلُّكُمْ عَلَى مَا تَحَابُّونَ بِهِ‏؟‏ قَالُوا‏:‏ بَلَى، يَا رَسُولَ اللهِ، قَالَ‏:‏ أَفْشُوا السَّلامَ بَيْنَكُمْ‏.‏

References2 variants
In-Book Reference
Book 42, Hadith 16
English Reference
Book 42, Hadith 980