Sunan Ibn Majah Book 34, Hadith 27
the Messenger of Allah (saas) said: "It is necessary that you do not become hasty." It was said: "What does being hasty mean, O Messenger of Allah?" He said: "When one says: 'I supplicated to Allah but Allah did not answer me.'"