Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) related that the Messenger of Allah (peace and blessings be upon him) came to the Masjid of Quba, and some men of the Ansar came to him (peace and blessings be upon him) and began greeting him (peace and blessings be upon him) with salam while he (peace and blessings be upon him) was praying. So I asked Sayyiduna Suhayb (may Allah be pleased with him), who was with him (peace and blessings be upon him): "When he (peace and blessings be upon him) was greeted with salam while in prayer, what did he (peace and blessings be upon him) do?" He said: "He (peace and blessings be upon him) would gesture with his hand."
Sufyan (may Allah have mercy on him) says: I said to an elderly man: "Ask him (Zayd bin Aslam): Did you hear this from Abdullah bin Umar (may Allah be pleased with them both)?" So the man said to him: "Did you hear this from Abdullah bin Umar (may Allah be pleased with them both)?" He replied: "As for me, I have indeed seen Ibn Umar (may Allah be pleased with them both) and spoken with him."