Shaykh Abdul Sattar al-Hammad
Hadith Commentary:
➊
The first hadith is narrated from Abu Sa'id al-Khudri (radi Allahu anhu).
According to its implication, this verse was revealed concerning the hypocrites, whereas from the hadith narrated by Ibn Abbas (radi Allahu anhu), it is understood that the context of revelation (shan al-nuzul) of this verse pertains to the conduct of the Jews of Madinah. Although, in terms of the coherence of the subject matter, the narration of Ibn Abbas (radi Allahu anhu) appears to be more weighty, because even before this verse, the misdeeds of the Jews are being discussed. However, in this subject, not only the hypocrites but even the Muslims themselves can be included.
That is, whoever desires such fame that he is a great sincere person, trustworthy, self-sacrificing, devoted servant of the people, or a scholar of religion—or seeks fame for any of these qualities—while in reality the matter is not so, or if someone has put in only a little effort in a good deed but desires much more fame and renown than is due, then his fate will be as mentioned in the verse.
➋
In any case, although the noble verse is specific in terms of its revelation, the generality of the wording includes every person who does a good deed and then, boasting and showing pride, expresses happiness over it, and also likes that people praise him for deeds he has not done. However, the statement of Ibn Abbas (radi Allahu anhu) is that this verse is specific only to the People of the Book; this can be considered his particular position, which is contrary to the stance of the majority.
And Allah knows best.
Source: Hidayat al-Qari: Commentary on Sahih Bukhari, Urdu, Page: 4568