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 also reminds us that Allah is always watching over us and knows when we are making mistakes or trying our best to do what is right in His eyes. We should strive every day to be better people and follow His commands so that He will be pleased with us in this life and the next.