It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) kept away from his pure wives for a month. Then, when twenty-nine days had passed, Jibril (peace be upon him) came to him (peace and blessings be upon him) and said: "Your oath has been fulfilled and the month is complete."
Related hadith on this topic