Sayyiduna Abu Dharr (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: "Allah remains attentive to His servant as long as he does not turn away (with distraction) in prayer. But when he turns his face away, He also turns away from him."
Hadith Referenceمسند عبدالله بن مبارك / 56
Hadith Gradingمحدثین:ضعیف
Hadith Takhrij«الزهد، ابن مبارك : 418،419، مسند احمد (الفتح الرباني ): 4/87، ضعیف الجامع الصغیر : 6345۔»