"I passed by the Messenger of Allah (ﷺ) when he was praying, and greeted him with Salam…

Sunan an-Nasa'i Book 13 Hadith 8

Sunan an-Nasa'i #1186

The Book of Forgetfulness (In Prayer) 13:8

It was narrated that Suhaib, the Companion of the Messenger of Allah (ﷺ) said:

"I passed by the Messenger of Allah (ﷺ) when he was praying, and greeted him with Salam. He returned my greeting with a gesture, or maybe it was just with his finger."

Chapter: Returning the salams with a gesture when praying

Grade: Sahih (Darussalam)