Bulugh al-Maram 223
وَعَنْ ابْنِ عُمَرَ - رَضِيَ اللَّهُ عَنْهُمَا-قَالَ: قُلْتُ لِبِلَالٍ: كَيْفَ رَأَيْتَ النَّبِيَّ - صلى الله عليه وسلم - يَرُدَّ عَلَيْهِمْ حِينَ يُسَلِّمُونَ عَلَيْهِ, وَهُوَ يُصَلِّي? قَالَ: يَقُولُ هَكَذَا, وَبَسَطَ كَفَّهُ. أَخْرَجَهُ أَبُو دَاوُدَ, وَالتِّرْمِذِيُّ وَصَحَّحَهُ.
From Ibn ʿUmar, may Allah be pleased with them both, who said: I said to Bilal: "How did you see the Prophet ﷺ reply to them when they greeted him while he was praying?" He said: "He would do like this," and he spread out his palm. Reported by Abu Dawud, and by at-Tirmidhi, who graded it sahih.