Maliks Muwatta Book 15, Hadith Number 40.
Section : Making Dua.
Yahya related to me from Malik that he had heard that the Messenger of Allah, may Allah bless him and grant him peace, used to make dua saying, “O Allah, I ask You for good actions and for leaving what is disapproved of and for love of the poor. And if You wish to try people, then bring me to You without being tried.”
Allahumma inniy asa’luka fala’l-khayrati, wa tarqa’l-munqarati, wa hubba’l-masakin, wa idha aradta fi’n-nasi fitnatan fa’qbithni ilayka ghayra maftun.