All perfect praise be to Allah, The Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad is His slave and Messenger.
Allah says (what means): {It is that of which Allah gives good tidings to His servants who believe and do righteous deeds. Say [O Muhammad:] "I do not ask you for this message any payment [but] only good will through kinship." And whoever commits a good deed - We will increase for him good therein. Indeed, Allah is Forgiving and Appreciative.} [Quran 42:23]
The early interpreters of the Quran differed in opinion about the interpretation of this verse; Imaam Ibn Jareer At-Tabari stated their views as follows:
“The first view is that the meaning of the saying of Allah (which means): {[but] only good will through kinship} is: but that you be kind to me because of my family relation to you, and you keep ties of kinship that exist between me and you.
The second view is that the meaning of this is: Say to those who follow you among the believers: I do not ask you for any reward for what I brought to you except being kind to my relatives.
The third view is that the meaning of this is: I do not ask you people for any reward for what I brought to you, except that you love Allah and get closer to Him by performing good deeds and acts of obedience.
The fourth view is that the meaning of this is: except that you keep ties with your kinship.”
Then Ibn Jareer said, “The most likely correct opinion and the more apparent in meaning is the opinion of those who said: Say: I do not ask you for a reward, O people of Quraysh, but only that you be kind to me because of my kinship relations with you and keep ties of kinship between me and you.”
Ibn Katheer favored this view as well in his Tafseer (exegesis), as he said, “The correct view is to interpret the verse according to the interpretation of the most prominent interpreter of the Quran of this nation, ‘Abdullah ibn ‘Abbaas as reported from him by Al-Bukhaari .”
The narration which Ibn Katheer is referring to is what Al-Bukhaari reported from Ibn ‘Abbaas, that he was asked about the saying of Allah (what means): {[but] only good will through kinship}, so Sa‘eed ibn Jubayr said, “To be kind to the family/household of Muhammad.” Ibn ‘Abbaas said, “You have jumped to a hasty conclusion. There was no clan among Quraysh to whom the Prophet did not have some ties of kinship. It means: but that you uphold the ties of kinship that exist between me and you.”
Allah knows best.