Mujahid reported,

Yahya bin Jadah and I went in to see a man from the Ansar who was among the companions of the Messenger of Allah ﷺ. He said, "A freedwoman of Banu Abdul-Muttalib was mentioned in the presence of the Messenger of Allah ﷺ, and it was said that she stood in prayer through the night and fasted during the day."The Messenger of Allah ﷺ said, "But as for me, I sleep and I pray, I fast and I break my fast. Whoever follows my example belongs to me, and whoever turns away from my way does not belong to me. Every deed has a period of zeal followed by a period of slackening. Whoever's slackening leads him toward an innovation has gone astray, and whoever's slackening leads him toward the Sunnah has been rightly guided."

Azami 2779

Sahih

عن مجاهد قال

دخلت أنا ويحيى بن جعدة على رجل من الأنصار من أصحاب رسول الله ﷺ قال: ذكروا عند رسول الله ﷺ مولاة لبني عبد المطلب، فقال: إنها تقوم الليل وتصوم النهار. قال: فقال رسول الله ﷺ: لكني أنا أنام وأصلي، وأصوم وأفطر، فمن اقتدى بي فهو مني، ومن رغب عن سنتي فليس مني، إن لكل عمل شرة ثم فترة، فمن كانت فترته إلى بدعة فقد ضل، ومن كانت فترته إلى سنة فقد اهتدى.

الأعظمي 2779صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Minor actions do not invalidate the prayer
Section
Moderation in worship and the dislike of being excessive in it
Numbering
Jami al-Kamil 2779 (2nd edition)
Azami 2779