We used to talk while engaged in prayer and a person talked with a companion on his side in prayer till (this verse) was revealed:" And stand before Allah in devout obedience" (2:238) and we were commanded to observe silence (in prayer) and were forbidden to speak.
Reference: Sahih Muslim 539 a In-book : Book 5, Hadith 43 USC-MSA web (English) : Book 4, Hadith 1098 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.