Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tabarani:10125ʿĪsá b. Muḥammad al-Simsār al-Wāsiṭī > Wahbb. Baqiyyah > Khālid > Ibn Abū Laylá > al-Ḥakam > Abū Wāʾil > Ibn Masʿūd

[Machine] "He went out to the land of Abyssinia and the people would greet each other in the prayer. When Abdullah returned, he greeted the Prophet ﷺ but did not receive a response. When the Messenger of Allah ﷺ finished and left, he said, 'I seek refuge in Allah from the anger of Allah and the anger of His Messenger. I greeted you and you did not respond.' The Messenger of Allah ﷺ said, 'Indeed, in prayer there is focus.'"  

الطبراني:١٠١٢٥حَدَّثَنَا عِيسَى بْنُ مُحَمَّدٍ السِّمْسَارُ الْوَاسِطِيُّ ثنا وَهْبُ بْنُ بَقِيَّةَ أنا خَالِدٌ عَنِ ابْنِ أَبِي لَيْلَى عَنِ الْحَكَمِ عَنْ أَبِي وَائِلٍ عَنِ ابْنِ مَسْعُودٍ

أَنَّهُ خَرَجَ إِلَى أَرْضِ الْحَبَشَةِ وَالنَّاسُ يُسَلِّمُ بَعْضُهُمْ عَلَى بَعْضٍ فِي الصَّلَاةِ فَلَمَّا رَجَعَ عَبْدُ اللهِ سَلَّمَ عَلَى النَّبِيِّ ﷺ فَلَمْ يَرُدَّ فَلَمَّا انْصَرَفَ رَسُولُ اللهِ ﷺ قَالَ أَعُوذُ بِاللهِ مِنْ غَضَبِ اللهِ وَغَضَبِ رَسُولِهِ سَلَّمْتُ عَلَيْكَ فَلَمْ تُرَدَّ عَلَيَّ فَقَالَ رَسُولُ اللهِ ﷺ «إِنَّ فِي الصَّلَاةِ لَشُغْلًا»