It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) concerning the saying of Allah Almighty, "And stand before Allah in devout obedience," that he said: "People used to talk during prayer; a man's servant would come to him while he was in prayer and speak to him about his need. Then they were forbidden from talking in prayer."
It has a supporting narration (shahid) in the two Sahihs from the hadith of Sayyiduna Zayd bin Arqam (may Allah be pleased with him).
Related hadith on this topic