Musnad Ahmad 3885
Grading supplied with this record: A saheeh hadeeth; this is a hasan isnad]
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
It was narrated that ‘Abdullah (رضي الله عنه) said:
I used to greet the Messenger of Allah (ﷺ) when he was praying and he would return my greeting. One day I greeted him (when he was praying) but he did not return the greeting and I felt sad. When he had finished praying I said:O Messenger of Allah, I used to greet you when you were praying and you would return the greeting. He said: "Allah introduces whatever He wants into His matter (i.e., religion)."
Full reference and source
Musnad Ahmad 3885 Arabic/English book : Book 26, Hadith 3885
View source on Sunnah.com (opens in a new tab)