In the lifetime of the Prophet (ﷺ) we used to speak while praying, and one of us would tell his needs to his
companions, till the verse, 'Guard strictly your prayers (2.238) was revealed. After that we were
ordered to remain silent while praying.
Sahih al-Bukhari Book 21, Hadith 4