That he said, "O Allah's Messenger (ﷺ)! What do you think about my good deeds which I used…

Sahih al-Bukhari Book 78 Hadith 23

Sahih al-Bukhari #5992

Good Manners and Form (Al-Adab) 78:23

Narrated Hakim bin Hizam:

That he said, "O Allah's Messenger (ﷺ)! What do you think about my good deeds which I used to do during the period of ignorance (before embracing Islam) like keeping good relations with my Kith and kin, manumitting of slaves and giving alms etc; Shall I receive the reward for that?" Allah's Messenger (ﷺ) said, "You have embraced Islam with all those good deeds which you did.

Chapter: Good relations with kith and kin while a Mushrik then embraced Islam

Grade: Sahih