Sunan Abi Dawud, Book 2, Hadith 536 (Abu Dawud 926)
Narrated Suhayb:
I passed by the Messenger of Allah (ﷺ) who was praying. I saluted him and he returned it by making a sign. The narrator said: I do not know but that he said: He made a sign with his finger. This is the version reported by Qutaybah.