We used to pray the Maghrib prayer with the Prophet (ﷺ) when the sun disappeared from the horizon.
Sahih al-Bukhari Book 9, Hadith 38