Al-Qasim b. Muhammad said that a man told him he was greatly distressed by wandering thoughts while he was engaged in prayer. He told him to persevere with his prayer, explaining that he would not be free from that till he said when he finished his prayer, “I have not performed my prayer perfectly.” Malik transmitted it.
Hadith Referenceمشكوة المصابيح / كتاب الإيمان / 78
Hadith Gradingالألبانی:لم تتم دراسته | زبیر علی زئی:إسناده ضعيف
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «إسناده ضعيف، رواه مالک في الموطأ (1/ 100 ح 222) ٭ ھذا من البلاغات، لم أجد له سندًا صحيحًا ولا حسنًا .»