Abu Hurairah reported,

The Messenger of Allah ﷺ said, meaning that Allah عز وجل said, "I am the best of partners. Whoever does a deed for My sake but associates another with Me in it, I disown that deed, and it belongs entirely to the one he associated with Me."

Ahmad 9619

Sahih

حدثنا يحيى عن شعبة قال حدثنا العلاء بن عبد الرحمن عن أبيه

عن أبي هريرة قال

قال رسول الله ﷺ يعني قال الله عز وجل أنا خير الشركاء من عمل لي عملا أشرك فيه غيري فأنا منه بريء وهو للذي أشرك

أحمد 9619صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 9619
Ahmad 9619