Sahih al Bukhari 6179
Good Manners and Form (Al-Adab)
حَدَّثَنَا مُحَمَّدُ بْنُ يُوسُفَ، حَدَّثَنَا سُفْيَانُ، عَنْ هِشَامٍ، عَنْ أَبِيهِ، عَنْ عَائِشَةَ ـ رضى الله عنها ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " لاَ يَقُولَنَّ أَحَدُكُمْ خَبُثَتْ نَفْسِي. وَلَكِنْ لِيَقُلْ لَقِسَتْ نَفْسِي ".
Narrated `Aisha:The Prophet (ﷺ) said, "None of you should say Khabuthat Nafsi, but he is recommended to say 'Laqisat Nafsi
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.