Sayyiduna Hakim bin Hizam (may Allah be pleased with him) narrates: He submitted, "O Messenger of Allah! What is your opinion about those deeds which I performed as acts of goodness during the time of ignorance, such as maintaining ties of kinship, freeing slaves, and giving charity—will there be any reward for them?" The Prophet (peace and blessings of Allah be upon him) said: "You have accepted Islam as a reward for the deeds you did before."