Abu Bakra reported,

The Messenger of Allah ﷺ said, "None of you should say, 'I have fasted the whole of Ramadan and stood in prayer through all of its nights.'"I do not know whether he disliked self-praise, or whether he meant that one must inevitably have some sleep or rest.

Abu Dawud 2415

Daif

حدثنا مسدد حدثنا يحيى عن المهلب بن أبي حبيبة حدثنا الحسن

عن أبي بكرة قال

قال رسول الله ﷺ لا يقولن أحدكم إني صمت رمضان كله وقمته كله فلا أدري أكره التزكية أو قال لا بد من نومة أو رقدة

أبو داود 2415ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Fasting
Chapter
One who says "I fasted all of Ramadan"
Numbering
Darussalam 2415
Abu Dawud 2415