Jami` at-Tirmidhi 2101
Qabisah bin Dhuw'aib said:
"A grandmother came to Abu Bakr to ask him about her inheritance. He said to her, 'There is noting for you in the Book of Allah and there is nothing for you in the Sunnah of the Messenger of Allah(S.A.W). So ,return until I ask the people. So he asked the people and  Al-Mughirah bin Shu'bah said: 'I was  present when the Messenger of Allah(S.A.W) gave her (case) a sixth.' So he said: 'Was anyone else with you?' Muhammad bin Maslamah stood to say the same as what  Al-Mughirah bin Shu'bah said. So Abu Bakr implemented that for her." Then the other grandmother came to 'Umar bin Al-Khattab to ask him about her inheritance. He said: 'There is nothing in the Book of Allah for you, but there is that sixth. So if the two of you are together then it is for both of you, and whichever of you remains), then it is for her.'"
حَدَّثَنَا الأَنْصَارِيُّ، حَدَّثَنَا مَعْنٌ، قال حَدَّثَنَا مَالِكٌ، عَنِ ابْنِ شِهَابٍ، عَنْ عُثْمَانَ بْنِ إِسْحَاقَ بْنِ خَرَشَةَ، عَنْ قَبِيصَةَ بْنِ ذُؤَيْبٍ، قَالَ جَاءَتِ الْجَدَّةُ إِلَى أَبِي بَكْرٍ تَسْأَلُهُ مِيرَاثَهَا ‏.‏ قَالَ فَقَالَ لَهَا مَا لَكِ فِي كِتَابِ اللَّهِ شَيْءٌ وَمَا لَكِ فِي سُنَّةِ رَسُولِ اللَّهِ صلى الله عليه وسلم شَيْءٌ فَارْجِعِي حَتَّى أَسْأَلَ النَّاسَ ‏.‏ فَسَأَلَ النَّاسَ فَقَالَ الْمُغِيرَةُ بْنُ شُعْبَةَ حَضَرْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم فَأَعْطَاهَا السُّدُسَ ‏.‏ فَقَالَ أَبُو بَكْرٍ هَلْ مَعَكَ غَيْرُكَ فَقَامَ مُحَمَّدُ بْنُ مَسْلَمَةَ الأَنْصَارِيُّ فَقَالَ مِثْلَ مَا قَالَ الْمُغِيرَةُ بْنُ شُعْبَةَ فَأَنْفَذَهُ لَهَا أَبُو بَكْرٍ ‏.‏ قَالَ ثُمَّ جَاءَتِ الْجَدَّةُ الأُخْرَى إِلَى عُمَرَ بْنِ الْخَطَّابِ تَسْأَلُهُ مِيرَاثَهَا فَقَالَ مَا لَكِ فِي كِتَابِ اللَّهِ شَيْءٌ وَلَكِنْ هُوَ ذَاكَ السُّدُسُ فَإِنِ اجْتَمَعْتُمَا فِيهِ فَهُوَ بَيْنَكُمَا وَأَيَّتُكُمَا خَلَتْ بِهِ فَهُوَ لَهَا ‏.‏ قَالَ أَبُو عِيسَى وَفِي الْبَابِ عَنْ بُرَيْدَةَ ‏.‏ وَهَذَا أَحْسَنُ وَهُوَ أَصَحُّ مِنْ حَدِيثِ ابْنِ عُيَيْنَةَ ‏.‏