Allah's Messenger (ﷺ) took an oath that he would not visit his wives for one month, and he sat in an upper
room belonging to him. Then, on the twenty ninth day he came down. It was said, "O Allah's Messenger (ﷺ)!
You had taken an oath not to visit your wives for one month." He said, "The (present) month is of
twenty-nine days."
Sahih al-Bukhari Book 67, Hadith 135