The prayers of the Prophet (PBUH)
The Quran tells us that the Prophet (PBUH) would rise to pray at night:
When the servant of Allah stands calling on Him, they almost swarm all over him. Say: "I call only upon my Lord and do not associate anyone else with Him." (Surat al-Jinn: 19-20)
Many verses speak of the Prophet's (PBUH) prayers. He would praise Allah by recalling His attributes. This is one of the prayers of the Prophet (PBUH) revealed in the Qur'an:
Say, "O Allah! Master of the Kingdom! You give sovereignty to whoever You will You take sovereignty from whoever You will. You exalt whoever You will You abase whoever You will. All good is in Your hands. You have power over all things." (Surah Al 'Imran: 26)
Like all the other prophets, the Prophet (PBUH) faced threats and pressure from hostile men and jinn. He responded to these with patience and fortitude, and was commanded to seek help from Allah against Satan's evil suggestions and spiritual attacks in this way:
Say: "My Lord, I seek refuge with You from the goading of the satans, and I seek refuge with You, my Lord, from their presence." (Surat al-Muminun: 97-98)
He was also commanded to seek the forgiveness and mercy of our Lord, Allah, in his prayers:
Say: "My Lord, forgive and be merciful! You are the Best of the Merciful." (Surat al-Muminun: 118)
In the hadiths, we see that the Prophet (PBUH) would pray to Allah for a finer morality and a good temperament, and that he beseeched Allah in these terms:
"O Allah, make my constitution and conduct good. O Allah, save me from bad character and conduct."
As Allah has revealed in the verse: "Say: 'What has My Lord to do with you if you do not call on Him?'..." (Surat al-Furqan: 77), prayer is a most important obligation upon the faithful. A person must know that no power is of the slightest use unless Allah so wishes it. He must turn to Allah in all matters, in fear and aspiration, and pray to Him for everything.
The prayers of the Prophet (PBUH), as those of the other prophets revealed in the Quran, are the very best examples for the faithful. They have shown in their prayers how they surrendered to Allah and saw Him as their only friend and helper, as well as praising our Lord by His most beautiful names. We can also see from the prayers of the prophets how they paid no attention to time when praying, but would turn to our Lord whenever they were in need.
The Prophet (PBUH) practiced only that which was revealed to him
The Complete Life of the Prophet Muhammad
Ziyaraat of Prophet Mohammad(S.W.A) From Far Away