Abdullah bin Masud reported,

We used to greet the Messenger of Allah ﷺ with the salam while he was praying, and he would return our greeting. When we returned from our visit to Najashi, we greeted him but he did not return our greeting.We said, "Messenger of Allah, we used to greet you during prayer and you would return our greeting."He replied, "Indeed in prayer there is occupation enough."

Ahmad 3563

Sahih

حدثنا محمد بن فضيل حدثنا الأعمش عن إبراهيم عن علقمة

عن عبد الله قال

كنا نسلم على رسول الله ﷺ وهو في الصلاة فيرد علينا فلما رجعنا من عند النجاشي سلمنا عليه فلم يرد علينا فقلنا يا رسول الله كنا نسلم عليك في الصلاة فترد علينا فقال إن في أو في الصلاة لشغلا

أحمد 3563صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Masud
Numbering
Darussalam 3563
Ahmad 3563