Sunan Abi Dawud, Book 3, Hadith 923 (USC-MSA) ⓘ
‘Abd Allah(b. Mas’ud) said: We used to salute the Messenger of Allah while he was engaged in prayer and he would respond to our salutation, but when we returned from the Negas, we saluted him and he did not respond to us. He said : Prayer demands one’s whole attention.
حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ نُمَيْرٍ، حَدَّثَنَا ابْنُ فُضَيْلٍ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ، عَنْ عَلْقَمَةَ، عَنْ عَبْدِ اللَّهِ، قَالَ كُنَّا نُسَلِّمُ عَلَى رَسُولِ اللَّهِ صلى الله عليه وسلم وَهُوَ فِي الصَّلاَةِ فَيَرُدُّ عَلَيْنَا فَلَمَّا رَجَعْنَا مِنْ عِنْدِ النَّجَاشِيِّ سَلَّمْنَا عَلَيْهِ فَلَمْ يَرُدَّ عَلَيْنَا وَقَالَ " إِنَّ فِي الصَّلاَةِ لَشُغْلاً " .
also referenced under: Hadith 923 (DarusSalam) & Hadith 923 (Hasan)