The Messenger of Allah ﷺ said, "None of you should say, 'I stood the whole of Ramadan in prayer.'"Qatada said, "Allah knows best, perhaps he feared self-praise on the part of his community."Affan said, "Or perhaps he meant that there must inevitably be times of sleep or heedlessness."
حدثنا يزيد أخبرنا همام وعفان حدثنا همام أخبرنا قتادة عن الحسن
قال رسول الله ﷺ لا يقولن أحدكم قمت رمضان كله قال قتادة فالله تبارك وتعالى أعلم أخشي على أمته التزكية قال عفان أو قال لا بد من راقد أو غافل