Narrated Um Salama: The Prophet vowed to keep aloof from his wives for a period of one month, and after the completion of 29 days he went either in the morning or in the afternoon to his wives. Someone said to him "You vowed that you would not go to your wives for one month." He replied, "The month is of 29 days."
— Sahih Bukhari, Volume 3, Book 31: Fasting, Hadith #134
Narrated Um Salama: The Prophet vowed to keep aloof from his wives for a period of one month, and after the completion of 29 days he went either in the morning or in the afternoon to his wives. Someone said to him "You vowed that you would not go to your wives for one month." He replied, "The month is of 29 days."
This hadith is from the book of Fasting in Sahih Bukhari, compiled by Imam al-Bukhari. It is hadith number 134 in book 31 of volume 3.