I am travelling on a train that travels for 12 hours.
It starts from my state before Maghrib and reaches the destination the next day after Fajr.
Will my salah still be valid if I pray my missed Maghrib and Isha the next day along with Fajr?
Edit: Considering that it's almost difficult to pray in the train, will my salah still be valid if I pray my missed Maghrib and Isha the next day along with Fajr?