Islam’s View on Righteous Act

According to Islamic principles, only deeds that put the man on the path of guidance will be accepted by God; i.e. good deeds that are accompanied by faith and good intentions.