Whenever Muhammad (pbuh) commanded his followers to observe a command or prohibition of God he was always found to be the most observant of this command or prohibition. He was the most devout in worship to God among them, and no one could equal him in worship, and in patience in the worship of God.
Al-Mugeerah ibn Shooba narrated:
"The Prophet, peace be upon him, used to stand in prayer until his feet became swollen and cracked. He was then asked: 'Hasn't God forgiven you that which is before you and that which is behind you?' He (Muhammad, pbuh) replied: 'Should I not be a thankful servant?' " (Narrated by Al-Bukhari)
"Allah's Messenger (pbuh) used to fast till one would say: he never stops fasting, and he would abstain from fasting till one would say:t he never fast." (Narrated by Al-Bukhari)
"You would never like to see him standing in the middle of the night in prayer but you would, and never would you like to see him sleeping but you would" (Narrated by Al-Bukhari)
The companions narrated that when a hardship or trial befell him he would pray. He would say,
"My comfort has been placed in prayer" (Narrated by Al-Nissai)