It's always best to pray every prayer on time. However, if you still on the time span between two prayers, your prayer is valid. Consider that the time span between Maghreb and Isha is very short, so it's good when you pray that prayer on time. Time for Maghreb ends, when the redness of the sky vanishes. It's also recommended to postpone Isha a bit, but you need to pray before midnight.
Maybe someone with more knowledge can provide you with more detailed information.
Salam Alaikum. It is always recommended to pray on the prescribed time, unless you come up with some work that you can't delay.
I think it's better you go through the following article https://islamqa.info/en/39818
Hey there! Looks like you're enjoying the discussion, but you're not signed up for an account.
When you create an account, you can participate in the discussions and share your thoughts. You also get notifications, here and via email, whenever new posts are made. And you can like posts and make new friends.
Sign Up