Sayyiduna Abu Ayyub al-Ansari (may Allah be pleased with him) narrates that the Prophet (peace and blessings be upon him) said: "Offer the Maghrib prayer at the time the fasting person breaks his fast, and offer it before the stars come out."
Ahmad recorded it. Al-Tabarani recorded these words in it: "Offer the Maghrib prayer as soon as the sun sets." Ahmad recorded this report from Yazid bin Abi Habib, from a man, from Sayyiduna Abu Ayyub (may Allah be pleased with him), and the remaining narrators of this report are thiqat (trustworthy). Al-Tabarani recorded it from Yazid bin Abi Habib, from Aslam Abu Imran, from Sayyiduna Abu Ayyub al-Ansari (may Allah be pleased with him), and its narrators have been declared trustworthy.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الصلاة / 1731