Ata bin Yasar reported,

A man from the Ansar informed Ata that he had kissed his wife while fasting during the time of the Messenger of Allah ﷺ. He instructed his wife to ask the Prophet ﷺ about it.The Prophet ﷺ told her, "The Messenger of Allah ﷺ himself does that."His wife reported this back to him, and he said, "The Prophet is granted dispensations in certain matters. Go back to him and tell him so."She returned to the Prophet ﷺ and said, "He said, 'The Prophet is granted dispensations in certain matters.'"The Prophet ﷺ replied, "I am the most fearful of Allah among you, and the most knowledgeable of His limits."

Azami 4563

Sahih

عن عطاء بن يسار

عن رجل من الأنصار، أن الأنصاري أخبر عطاء أنه قبل امرأته على عهد رسول الله ﷺ وهو صائم، فأمر امرأته فسألت النبي ﷺ عن ذلك، فقال النبي ﷺ: إن رسول الله ﷺ يفعل ذلك. فأخبرته امرأته فقال: إن النبي يرخص له في أشياء، فارجعي إليه، فقولي له: فرجعت إلى النبي ﷺ، فقالت: قال: إن النبي ﷺ يرخص له في أشياء؟ فقال: أنا أتقاكم الله، وأعلمكم بحدود الله.

الأعظمي 4563صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
What is permitted and what is not permitted for the fasting person
Section
Qibla for the fasting person
Numbering
Jami al-Kamil 4563 (2nd edition)
Azami 4563