I was in good spirits one day and kissed (my wife) when I was fasting. I came to the Prophet ﷺ and said: I have done something serious. I kissed (my wife) when I was fasting. The Messenger of Allah ﷺ said: “What do you think if you rinse your mouth with water when you are fasting?ʿ I said: There is nothing wrong with it. The Messenger of Allah ﷺ said: “Then why (are you worried)?ʿ (Using translation from Aḥmad 138)
أَنَّهُ قَالَ هَشَشْتُ يَوْمًا فَقَبَّلْتُ وَأَنَا صَائِمٌ وَأَتَيْتُ رَسُولَ اللَّهِ ﷺ فَقُلْتُ صَنَعْتُ الْيَوْمَ أَمْرًا عَظِيمًا فَقَبَّلْتُ وَأَنَا صَائِمٌ فَقَالَ رَسُولُ اللَّهِ ﷺ «أَرَأَيْتَ لَوْ تَمَضْمَضْتَ مَاءً وَأَنْتَ صَائِمٌ؟» قَالَ فَقُلْتُ لَا بَأْسَ بِذَلِكَ فَقَالَ رَسُولُ اللَّهِ ﷺ «هَذَا» حَدِيثٌ صَحِيحٌ عَلَى شَرْطِ الشَّيْخَيْنِ وَلَمْ يُخَرِّجَاهُ