Al-Ilmam bi-Ahadith al-Ahkam 186
وَعَن زيد بن أَرقم رَضِيَ اللَّهُ عَنْه قَالَ: كُنَّا نتكلم فِي الصَّلَاة يكلم الرجل (منا) صَاحبه، وَهُوَ إِلَى جنبه فِي الصَّلَاة، حَتَّى نزلت {وَقومُوا لله قَانِتِينَ} الْبَقَرَة - ٢٣٨ فَأمرنَا بِالسُّكُوتِ، ونُهينا عَن الْكَلَام. أخرجهُمَا مُسلم. وَسَيَأْتِي حَدِيث ذِي الْيَدَيْنِ (إِن شَاءَ الله تَعَالَى) .
From Zayd ibn Arqam, may Allah be pleased with him, who said: We used to speak in the prayer; a man (among us) would speak to his companion who was beside him in the prayer, until [the verse] was revealed: 'And stand before Allah devoutly obedient' (al-Baqarah 2:238). Then we were commanded to be silent and forbidden to speak. Muslim reported both. The hadith of Dhu al-Yadayn will come later (if Allah the Exalted wills).