Muslim b. Abu Bakra said:My father used to say at the end of the prayer, “O God, I seek refuge in Thee from infidelity, poverty and the punishment in the grave.” I used to say these words also, so he asked me, “From whom did you get this, sonny?” When I told him that I had got it from him, he said that God’s messenger used to say these words at the end of the prayer. Nasa'i and Tirmidhi transmitted it, but the latter did not mention "at the end of the prayer." Ahmad transmitted the wording of the tradition, but he had, "at the end of every prayer."
Hadith Referenceمشكوة المصابيح / كتاب الدعوات / 2480
Hadith Gradingالألبانی:لم تتمّ دراسته | زبیر علی زئی:إسناده حسن
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «إسناده حسن، رواه النسائي (73/3. 74 ح 1348) والترمذي (3503 وقال: غريب) و أحمد (44/5 ح 20720 [وھو حسن])»