It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that "A man came to the Messenger of Allah (peace and blessings be upon him), and his son was with him. He said: O Messenger of Allah! I want you to be a witness to the charity that I am giving to this son of mine. The Messenger of Allah (peace and blessings be upon him) asked him: 'Do you have any children other than him?' He said: Yes. He (peace and blessings be upon him) asked: 'Have you given them the same as you gave him?' He said: No. So he (peace and blessings be upon him) said: 'Then I will not bear witness to it.'" Imam al-Harith and other hadith scholars narrated this report, and its wording has already come in the Book of Gifts (Kitab al-Hibah). Technically, this chain is da'if (weak) because of the weakness of Ibrahim bin al-Hakam.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب الشهادات ومن تجوز شهادته ومن لا تجوز / 4959