Hazrat Moulana Muhammad Ilyaas (rahmatullahi ‘alaih) once mentioned:
When a person engages in the work of Deen, his intention should be solely to acquire the pleasure of Allah Ta‘ala and earn reward in the hereafter. However, the worldly benefits that are promised for the one who engages in the works of Deen should also be mentioned as a means of encouragement. Some people are such that they initially get involved in Deeni work with the hope of obtaining worldly benefits, but through the barakah and blessings of the Deeni work they are involved in, Allah Ta‘ala blesses them with true sincerity. (Malfoozaat Hazrat Moulana Muhammad Ilyaas (rahmatullahi ‘alaih) pg. 77)