"The Messenger of Allah ﷺ came to visit me while I was ill at Banu Salamah. I said : 'O Prophet of Allah ﷺ! How shall I divide my wealth among my children?' But he did not say anything to me, until the following was revealed: Allah commands you regarding your children's (inheritance): to the male, a portion equal to that of two females."
جَاءَنِي رَسُولُ اللَّهِ ﷺ يَعُودُنِي وَأَنَا مَرِيضٌ فِي بَنِي سَلِمَةَ فَقُلْتُ يَا نَبِيَّ اللَّهِ كَيْفَ أَقْسِمُ مَالِي بَيْنَ وَلَدِي فَلَمْ يَرُدَّ عَلَىَّ شَيْئًا فَنَزَلَتْ (يُوصِيكُمُ اللَّهُ فِي أَوْلاَدِكُمْ لِلذَّكَرِ مِثْلُ حَظِّ الأُنْثَيَيْنِ ) الآيَةَ