Sahih Bukhari Volume 2, Book 21, Hadith Number 277.

Narated By ‘Abdullah Al-Muzni : The Prophet said, “Pray before the Maghrib (compulsory) prayer.” He (said it thrice) and in the third time, he said, “Whoever wants to offer it can do so.” He said so because he did not like the people to take it as a tradition.