Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:11456Abū Saʿīd b. Abū ʿAmr > Abū al-ʿAbbās al-Aṣam > al-Ḥasan b. ʿAlī b. ʿAffān > Yaḥyá b. Ādam > Sufyān > Layth > Ṭāwus

[Machine] If the patient confirms to the inheritor or to someone other than the inheritor, it is permissible. It has been reported from Abu Yahya Al-Saji that he said: It was narrated from Al-Hasan, Ata, and Umar Ibn Abdul Aziz that their affirmation is valid. Al-Bukhari said, and Al-Hasan said: "The most deserving of what a man is believed in is on the last day of this world and the first day of the hereafter." Al-Bukhari said, and Rafa'a Ibn Khadeej said: "Do not reveal the secrets of trustworthiness that have been closed to it." He also said: "Some people say that it is not permissible to confirm it due to having bad thoughts about the inheritance, and the Prophet ﷺ warned against suspicion, for indeed, suspicion is the most untruthful speech." And the wealth of Muslims is not permissible to be taken based on the saying of the Prophet ﷺ , "The sign of a hypocrite when he is entrusted he betrays." And Allah the Almighty said, "Indeed, Allah commands you to render trusts to whom they are due." [Quran 4:58] So He did not specify an inheritor or anyone else.  

البيهقي:١١٤٥٦أَخْبَرَنَا أَبُو سَعِيدِ بْنُ أَبِي عَمْرٍو ثنا أَبُو الْعَبَّاسِ الْأَصَمُّ ثنا الْحَسَنُ بْنُ عَلِيِّ بْنِ عَفَّانَ ثنا يَحْيَى بْنُ آدَمَ عَنْ سُفْيَانَ عَنْ لَيْثٍ عَنْ طَاوُسٍ قَالَ

إِنْ أَقَرَّ الْمَرِيضُ لِوَارِثٍ أَوْ لِغَيْرِ وَارِثٍ جَازَ وَبَلَغَنِي عَنْ أَبِي يَحْيَى السَّاجِيِّ أَنَّهُ قَالَ رُوِيَ عَنِ الْحَسَنِ وَعَطَاءٍ وَعُمَرَ بْنِ عَبْدِ الْعَزِيزِ أَنَّ إِقْرَارَهُ جَائِزٌ قَالَ الْبُخَارِيُّ وَقَالَ الْحَسَنُ أَحَقُّ مَا يَصْدُقُ بِهِ الرَّجُلُ آخِرُ يَوْمٍ مِنَ الدُّنْيَا وَأَوَّلُ يَوْمٍ مِنَ الْآخِرَةِ قَالَ الْبُخَارِيُّ وَأَوْصَى رَافِعُ بْنُ خَدِيجٍ أَنْ لَا تَكْشِفَ الْفَزَارِيَّةُ عَمَّا أُغْلِقَ عَلَيْهِ بَابُهَا قَالَ وَقَالَ بَعْضُ النَّاسِ لَا يَجُوزُ إِقْرَارُهُ لِسُوءِ الظَّنِّ بِالْوَرَثَةِ وَقَدْ قَالَ النَّبِيُّ ﷺ إِيَّاكُمْ وَالظَّنَّ؛ فَإِنَّ الظَّنَّ أَكْذَبُ الْحَدِيثِ وَلَا يَحِلُّ مَالُ الْمُسْلِمِينَ لِقَوْلِ النَّبِيِّ ﷺ آيَةُ الْمُنَافِقِ إِذَا اؤْتُمِنَ خَانَ وَقَالَ اللهُ تَعَالَى {إِنَّ اللهَ يَأْمُرُكُمْ أَنْ تُؤَدُّوا الْأَمَانَاتِ إِلَى أَهْلِهَا} [النساء 58] فَلَمْ يَخُصَّ وَارِثًا وَلَا غَيْرَهُ