Hadith 1910
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."
Hadith 5202
Narrated Um Salama: The Prophet took an oath that he would not enter upon some of his wives for one month. But when twenty nine days had elapsed, he went to them in the morning or evening. It was said to him, "O Allah's Prophet! You had taken an oath that you would not enter upon them for one month." He replied, "The month can be of twenty nine days."