"We used to speak to each other during the prayer, saying whatever was necessary, at the time of the Messenger of Allah ﷺ, until this verse was revealed: Guard strictly (five obligatory) As-Salawat (the prayers) especially the middle Salah (i.e. the best prayer- 'Asr). And stand before Allah with obedience (and do not speak to others during the Salah (prayers)), so we were commanded to be silent." (Using translation from Nasāʾī 1219)
كَانَ الرَّجُلُ يُكَلِّمُ صَاحِبَهُ فِي الصَّلَاةِ بِالْحَاجَةِ عَلَى عَهْدِ النَّبِيِّ ﷺ حَتَّى نَزَلَتْ هَذِهِ الْآيَةُ {حَافِظُوا عَلَى الصَّلَوَاتِ وَالصَّلَاةِ الْوُسْطَى وَقُومُوا لِلَّهِ قَانِتِينَ} [البقرة 238] فَأُمِرْنَا بِالسُّكُوتِ