Sayyiduna Abu Hurairah narrates from the Noble Prophet (ﷺ), who relates from his Lord, that Allah Almighty says: "I am the best of partners." And the wording of Bundar's narration is: "I am independent of the shirk of partners. Therefore, whoever does any deed and associates someone else with Me in it, then I am free from him, and that deed is for the one whom he associated with Me." In the narration of Bundar, these words are present: "So I am disassociated and unconcerned with him, and he should seek his reward from that (partner) whom he associated."
Hadith Referenceصحيح ابن خزيمه / جماع أبواب الأفعال المكروهة فى الصلاة التى قد نهي عنها المصلي / 938