This noble Hadīth clarifies the permissibility of returning the greeting with a hand gesture during prayer based on the action of the Prophet (may Allah's peace and blessings be upon him) with the Ansār; when they greeted him while he was praying in Qubā' Mosque, he simply extended his hand.