Sahih al-Bukhari 6701
Sahih al-Bukhari · Book 83: Oaths and Vows · To vow for something not possessed, and for something sinful
Narrated Anas:
حَدَّثَنَا مُسَدَّدٌ ، حَدَّثَنَا يَحْيَى ، عَنْ حُمَيْدٍ ، عَنْ ثَابِتٍ ، عَنْ أَنَسٍ ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " إِنَّ اللَّهَ لَغَنِيٌّ عَنْ تَعْذِيبِ هَذَا نَفْسَهُ ". وَرَآهُ يَمْشِي بَيْنَ ابْنَيْهِ. وَقَالَ الْفَزَارِيُّ عَنْ حُمَيْدٍ حَدَّثَنِي ثَابِتٌ عَنْ أَنَسٍ
The Prophet (ﷺ) said, "Allah is not in need of this man) torturing himself," when he saw the man walking between his two sons (who were supporting him).