Sahih Bukhari | Volume 7 | Hadith Number 129

Narrated by Anas
Allah's Apostle 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 Apostle! You had taken an oath not to visit your wives for one month." He said, "The (present) month is of twenty-nine days."