He used to pray the Maghrib with the Messenger of Allah when the sun set.
Sunan Ibn Majah Book 2, Hadith 22