Question
I intended to pray the 'Isha prayer, and in the third rak'ah I remembered that it is the Maghrib prayer. What is the ruling?
Answer
I say, and with God's success: you sit and greet, and what you have prayed is a voluntary prayer, then you intend to pray the Maghrib prayer, and God knows best.