Answered by Mawlana Ilyas Patel
Does crying out of sadness during prayer invalidate it even if there is no audible sound?
In the Name of Allah, the Most Merciful and Compassionate
If one is crying out with sound due to sadness, and it is due to the remembrance of Paradise or the Fire, then one’s prayer remains valid.
As for crying out loud, such that letters are uttered, or to moan, out of pain, (unless one is ill and, therefore, cannot control the moaning or noise due to pain, then he is excused too) or due to a calamity, then in all these cases, it will invalidate the prayer. [Tahtawi, Hashiya ‘ala al-Durr al-Mukhtar]
So, in your case, if there was no sound with letters, then your prayer remained valid.
I pray this helps with your question.
[Mawlana] Ilyas Patel
Checked and Approved by Shaykh Faraz Rabbani
Mawlana Ilyas Patel is a traditionally-trained scholar who has studied within UK, India, Pakistan, Syria, Jordan and Turkey.
He started his early education in UK. He went onto complete hifz of Qur’an in India, then enrolled into an Islamic seminary in UK where he studied the secular and Alimiyyah sciences. He then travelled to Karachi, Pakistan.
He has been an Imam in Rep of Ireland for a number of years. He has taught hifz of the Qur’an, Tajwid, Fiqh and many other Islamic sciences to both children and adults onsite and online extensively in UK and Ireland. He was teaching at a local Islamic seminary for 12 years in the UK where he was a librarian and a teacher of Islamic sciences.
He currently resides in UK with his wife. His personal interest is love of books and gardening.