Doing Ibadah To Follow Footsteps Of Prophet Muhammad
The intention to please the mother in the first case is conducive to pleasing God, our conscience tells it is good. Here the act and the intention are found in the same act. In the second case, the intention to get money removes the pleasure of God within the act altogether, hence makes benefit the primary goal, not the pleasure of God, so it is riyakari, and then find the pleasure of God in another act. Man is not obliged to ruin the spirit of an act for something voluntary.