The Prophet was sitting in a masjid and a man came, and prayed, “O Allah, forgive me and have mercy on me.” So the Prophet (s.A.a.w.s.) told him, “You were hasty. When you pray, praise Allah and send the salah on me, then ask
Allah.”
Another
man came and he praised Allah and he sent the salah on the Prophet (s.A.a.w.s.); so he (s.A..a.w.s.) said, “O suppliant, ask Allah and
your prayer will be
answered.” (Narrated by at-Tirmidhi