correct, it is not accepted; and if it is correct but not sincere, it is not accepted until it is both sincere and correct. Sincerity means that it is done for Allah, and correctness means that it accords with the Sunnah.
A righteous deed must be done seeking the Face of Allah Most High, for Allah Most High accepts only deeds done seeking His Face alone.
As related in the authentic hadith narrated by Abū Hurayrah from the Prophet, peace and blessings be upon him, who said:
“Allah Most High says: ‘I am utterly free of any need for partners. Whoever does a deed in which he associates another with Me, I disavow that deed, and it belongs entirely to the one he associated with Me.’”
This is the monotheism that is the foundation of Islam. It is the religion of Allah with which He sent all His messengers, and for which He created all creation. It is His right over His servants that