Show Off Or Riya
consider a person is doing something like donating blood etc for show off only. But even then, it should be considered a good deed right. Like if some does a sin, let’s consider he murders someone for that matter but then Allah won’t ask him for his intentions if he did it for himself or for Allah etc but when someone’s doing any good deed Allah is saying there’s a condition that it should be done only for Allah. If we just have to choose from good and bad in this world, why’s there another condition that the good shouldn’t be with riya. Like good is good then why does intention matters.