عَنْ ثَوْبَانَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «أَيُّمَا امْرَأَةٍ سَأَلَتْ زَوْجَهَا طَلَاقًا فِي غَيْرِ مَا بَأْسٍ فَحَرَامٌ عَلَيْهَا رَائِحَةُ الْجَنَّةِ» . رَوَاهُ أَحْمَدُ وَالتِّرْمِذِيُّ وَأَبُو دَاوُدَ وَابْنُ مَاجَهْ والدارمي
Translation

Abu Huraira reported God’s Messenger as saying, “Every divorce is allowable except that by an idiot or one whose mind is deranged.” Tirmidhi transmitted it, saying this is a gharib tradition, and ‘Ata’ b. ‘Ajlan, the transmitter, is a weak authority whose traditions are rejected.