Al-Ilmam bi-Ahadith al-Ahkam 517
وَعِنْده، فِي حَدِيث لأبي سعيد (الْخُدْرِيّ) رَضِيَ اللَّهُ عَنْه قَالَ: " خرج رَسُول الله ﷺ فِي أَضْحَى أَو فطر إِلَى الْمُصَلى "، وَفِيه: " فَلَمَّا سَار إِلَى منزله جَاءَت زَيْنَب امْرَأَة ابْن مَسْعُود تستأذن عَلَيْهِ. (وَفِيه) : قَالَت يَا نَبِي الله، إِنَّك أمرت الْيَوْم بِالصَّدَقَةِ، وَكَانَ عِنْدِي حُلي لي فأردتُ أَن أتصدَّق بِهِ فَزعم ابْن مَسْعُود أَنه وَولده أَحَق مَنْ تصدَّقتُ بِهِ عَلَيْهِم. فَقَالَ رَسُول الله ﷺ : " صدق ابْن مَسْعُود، زَوجك وولدك أَحَق من تَصَدَّقت بِهِ عَلَيْهِم ".
And with him, in a hadith of Abu Saʿid (al-Khudri), may Allah be pleased with him, who said: "The Messenger of Allah ﷺ went out on [the day of] al-Adha or al-Fitr to the prayer place," and in it: "When he went to his house, Zaynab, the wife of Ibn Masʿud, came asking permission to see him." (And in it:) She said: "O Prophet of Allah, you ordered charity today, and I had some jewellery of mine that I wanted to give in charity, but Ibn Masʿud claimed that he and his children have the most right to receive my charity." The Messenger of Allah ﷺ said: "Ibn Masʿud has spoken the truth. Your husband and your children have the most right to receive your charity."