Umm Salama bint Abu Umaya reported,

The Prophet ﷺ swore that he would not enter upon some of his wives for a month. When twenty-nine days had passed, he went to them in the morning or in the evening. It was said to him, "Prophet of Allah ﷺ, you swore that you would not enter upon them for a month."He replied, "A month can be twenty-nine days."

Azami 4326

Sahih

عن أم سلمة

أن النبي ﷺ حلف لا يدخل على بعض أهله شهرا، فلما مضى تسعة وعشرون يوما غدا عليهن أو راح، فقيل له: يا نبي الله ﷺ، حلفت أن لا تدخل عليهن شهرا؟ قال: إن الشهر يكون تسعة وعشرين يوما.

الأعظمي 4326صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Obligation of fasting, its virtue, and its rulings
Section
Month can be twenty-nine days
Numbering
Jami al-Kamil 4326 (2nd edition)