The Messenger of Allah ﷺ said, "Whoever maintains twelve units of prayer each day and night will enter Paradise. Four before Dhuhr and two after it, two after Maghrib, two after Isha, and two before Fajr."
أخبرنا الحسين بن منصور بن جعفر النيسابوري قال حدثنا إسحق بن سليمان قال حدثنا مغيرة بن زياد عن عطاء
قال رسول الله ﷺ من ثابر على اثنتي عشرة ركعة في اليوم والليلة دخل الجنة أربعا قبل الظهر وركعتين بعدها وركعتين بعد المغرب وركعتين بعد العشاء وركعتين قبل الفجر
[Its chain of transmission is hasan] Tirmidhi transmitted it, Prayer, chapter on what has been said about one who prays twelve rakats in a day and a night... etc, hadith 414, and Ibn Majah, Establishment of Prayers, chapter on what has been said about the twelve rakats of the sunnah, hadith 1140, from the hadith of Ishaq bin Sulayman, with this chain, and it is also in al-Kubra, hadith 1467. Tirmidhi said, "Gharib," and it has corroborating narrations in Muslim and elsewhere.Mughira bin Ziyad is hasan al-hadith, and the majority of scholars considered him reliable.