The Sufficient (Vol 7) · Hadith 173 (#Ḥadīth #2)
Chapter 32 | Distribution of What is Bequeathed To Relatives
2- مُحَمَّدُ بْنُ يَحْيَى قَالَ كَتَبَ مُحَمَّدُ بْنُ الْحَسَنِ إِلَى أَبِي مُحَمَّدٍ رَجُلٌ أَوْصَى بِثُلُثِ مَالِهِ لِمَوَالِيهِ وَلِمَوْلَيَاتِهِ الذَّكَرُ وَالأنْثَى فِيهِ سَوَاءٌ أَوْ لِلذَّكَرِ مِثْلُ حَظِّ الأنْثَيَيْنِ مِنَ الْوَصِيَّةِ فَوَقَّعَ جَائِزٌ لِلْمَيِّتِ مَا أَوْصَى بِهِ عَلَى مَا أَوْصَى بِهِ إِنْ شَاءَ اللهُ.
2. Muhammad ibn Yahya has narrated the following: “Once Muhammad ibn al-Hassan wrote to abu Muhammad , about the case of a man who has bequeathed one-third of his legacy to his male and female slaves; if they share it equally or the share of the male is twice the share of female. He (the Imam) signed the answer that said, ‘It is binding and permissible for the deceased what he has bequeathed in the manner he has bequeathed, by the will of Allah.’”
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).