Sunan Ibn Majah Book 34, Hadith 17
the Messenger of Allah said: "Ask Allah for beneficial knowledge and seek refuge with Allah from knowledge that is of no benefit."
the Messenger of Allah (saas) said: "Seek refuge with Allah from poverty, insufficiency and humiliation, and from wronging (others) and being wronged.'"
Prophet saas used to seek refuge with Allah from cowardice, miserliness, old age, the torment of the grave and the tribulation of the heart. (Da'if)(One of the narrators) Waki' said: "Meaning when a man dies in a state of tribulation (Fitnah) and does not ask Allah to forgive him."