I'm going through very hard times and I am really sad.So sometimes during salah I cry and tears drop without making any sound. Is my prayer valid if I cry out of sadness ? Please note when I am crying, I am not crying out of fear of Allah. Its just out of sadness I am crying.
Crying in a loud voice over a worldly matter invalidates the prayer according to the four major schools of jurisprudence. Crying due to the fear of Allah does not invalidate the prayer; rather, it is what the Prophet ﷺ used to do quite often, and it is a sign of strong faith:
إِنَّمَا يُؤْمِنُ بِآيَاتِنَا الَّذِينَ إِذَا ذُكِّرُوا بِهَا خَرُّوا سُجَّدًا وَسَبَّحُوا بِحَمْدِ رَبِّهِمْ وَهُمْ لَا يَسْتَكْبِرُونَ
Only those who believe in Our verses who, when they are reminded of them, fall down in prostration and exalt [Allah] with praise of their Lord, and they are not arrogant.