Fadala bin Ubayd reported,

The Messenger of Allah ﷺ said, "There are three about whom you need not ask. A man who has separated from the community, disobeyed his leader, and died in that state of disobedience. A slave woman or slave man who ran away and then died. And a woman whose husband was absent from her, having provided for her worldly needs, yet she adorned herself for others in his absence. Do not ask about them.And there are three others about whom you need not ask. A man who contends with Allah over His cloak, for His cloak is pride and His garment is might. A man who doubts the command of Allah. And one who despairs of the mercy of Allah."

Azami 7667

Sahih

عن فضالة بن عبيد

عن رسول الله ﷺ أنه قال: ثلاثة لا تسأل عنهم: رجل فارق الجماعة، وعصى إمامه، ومات عاصيا، وأمة أو عبد أبق فمات، وامرأة غاب عنها زوجها، قد كفاها مؤنة الدنيا فتبرجت بعده، فلا تسأل عنهم، وثلاثة لا تسأل عنهم: رجل نازع الله رداءه، فإن رداءه الكبرياء وإزاره العزة، ورجل شك في أمر الله و القائط من رحمة الله.

الأعظمي 7667صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Leadership
Section
Sin of one who dies without having given a pledge of allegiance
Numbering
Jami al-Kamil 7667 (2nd edition)
Azami 7667