سَعِيدٌ قَالَ: نا خَالِدُ بْنُ عَبْدِ اللَّهِ، عَنْ يُونُسَ، عَنِ الْحَسَنِ، فِي الرَّجُلِ يَتَصَدَّقُ بِصَدَقَةٍ ثُمَّ يَرِثُهَا قَالَ: «كَانَ لَا يَرَى بِهِ بَأْسًا وَيَكْرَهُ أَنْ يَشْتَرِيَهَا»
Hasan al-Basri (may Allah have mercy on him) said: "If someone gives charity and then that wealth comes to him through inheritance, then there is no harm in it, but they considered it disliked to buy it."