Wa `alaykum as-Salamu wa Rahmatullahi wa Barakatuh.
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
In this fatwa:
In his response to your question, Sheikh Ahmad Kutty, a senior lecturer and an Islamic scholar at the Islamic Institute of Toronto, Ontario, Canada, states:
While we are engaged in communing with Allah, we are not allowed to be distracted from it by engaging in conversations with others.
The Prophet (peace and blessings be upon him) said, “Prayer is all about remembrance of Allah; therefore one should not be conversing or speaking with others while performing Prayer.” (Muslim)
Allah Almighty knows best.