Do not be misled by a person's prayers and fasting. [Instead] look [at their] sincerity and wisdom.
or simply: