Hadith 3640
Musnad of Abdullah bin Mas'ood
It was narrated that al-Aswad bin Yazeed said:
The iqamah for prayer was given in the mosque and we came walking with ‘Abdullah bin Mas'ood (رضي الله عنه). When the people bowed, 'Abdullah bowed and we bowed with him whilst we were still walking. A man passed in front of him and said: Assalamu 'alaika ya Aba 'Abdur-Rahman. ‘Abdullah said whilst he was bowing. Allah and His Messenger spoke the truth. When he had finished, some of the people asked him. Why did you say, when the man greeted you, Allah and His Messenger spoke the truth? He said: I heard the Messenger of Allah (ﷺ) say: “One of the portents of the Hour will be when greetings are restricted to people whom one knows."
Hadith gradings, numbering and translations can differ between editions. For legal rulings or detailed interpretation, consult qualified scholarship and the referenced edition.