Umm Salama bint Abu Umaya reported,

She informed him that the Prophet ﷺ swore an oath that he would not enter upon some of his family for a month. When twenty-nine days had passed, he came to them in the morning or in the evening. It was said to him, "Prophet of Allah, you swore that you would not come to us for a month."He replied, "A month can be twenty-nine days."

Muslim 2523

Sahih

حدثني هارون بن عبد الله حدثنا حجاج بن محمد قال قال ابن جريج أخبرني يحيى بن عبد الله بن محمد بن صيفي أن عكرمة بن عبد الرحمن بن الحارث أخبره أن

أم سلمة رضي الله عنها

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

مسلم 2523صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Fasting
Chapter
Month can be twenty-nine days
Numbering
Darussalam 2523
Muslim 2523