Amr bin Mura reported,

A man came to the Prophet ﷺ and said, "Messenger of Allah, tell me, if I bear witness that there is no god but Allah and that you are the Messenger of Allah, pray the five daily prayers, pay the zakat, and fast Ramadan and stand in prayer during its nights, among whom will I be counted?"He replied, "Among the truthful and the martyrs."

Azami 4311

Sahih

عن عمرو بن مرة الجهني، قال

جاء رجل إلى النبي ﷺ، فقال: يا رسول الله، أرأيت إن شهدت لا إله إلا الله، وأنك رسول الله، وصليت الصلوات الخمس، وأديت الزكاة، وصمت رمضان وقمته، فممن أنا؟ قال: من الصديقين والشهداء.

الأعظمي 4311صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Obligation of fasting, its virtue, and its rulings
Section
Virtue of fasting the month of Ramadan
Numbering
Jami al-Kamil 4311 (2nd edition)
Azami 4311