Sahih al-Bukhari, Book 9, Hadith 38 (Bukhari 549)

Narrated Salama:

We used to pray the Maghrib prayer with the Prophet (ﷺ) when the sun disappeared from the horizon.