"عَنْ عَلِىٍّ: أَنَّهُ وَجَدَ دِينَارًا عَلَى عَهْدِ رَسُولِ اللهِ ﷺ فَذَكَرَهُ لِلنَّبِىِّ ﷺ فَأَمَرَهُ أَنْ يُعَرِّفْهُ، فَلَمْ يُعْرَفْ، فَأَمرَهُ أَنْ يأكُله، ثُمَّ جَاءَ صَاحِبُهُ فَأَمَرَهُ أَنْ يُقَوِّمَهُ".
[Machine] He found a dinar during the time of the Messenger of Allah ﷺ and he mentioned it to the Prophet ﷺ who ordered him to announce it, but no one came forward to claim it. So he ordered him to keep it and then the owner came and he ordered him to pay a fine. Al-Shafi'i and Ali ibn Abi Talib may Allah have mercy on them, both said it is prohibited for him to receive charity because he is from the descendants of Banu Hashim.
أَنَّهُ وَجَدَ دِينَارًا عَلَى عَهْدِ رَسُولِ اللهِ ﷺ فَذَكَرَهُ لِلنَّبِيِّ ﷺ فَأَمَرَهُ أَنْ يُعَرِّفَهُ فَلَمْ يُعْتَرَفْ فَأَمَرَهُ أَنْ يَأَكُلَهُ ثُمَّ جَاءَ صَاحِبُهُ فَأَمَرَهُ أَنْ يَغْرَمَهُ قَالَ الشَّافِعِيُّ رَحِمَهُ اللهُ وَعَلِيُّ بْنُ أَبِي طَالِبٍ ؓ مِمَّنْ تَحْرُمُ عَلَيْهِ الصَّدَقَةُ؛ لِأَنَّهُ مِنْ صَلِيبَةِ بَنِي هَاشِمٍ