Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
darimi:954And Saʾalt al-Zuhrī

[Machine] About a man who divorced his wife while she was menstruating, she stayed for three months then had another period, then her period was delayed, and she stayed for seven months and eight days, then she had another period that came earlier than expected and another one that was delayed. How should she count her waiting period? He said, "If her period differs from her regular cycle, then her waiting period shall be one year."  

الدارمي:٩٥٤قَالَ وَسَأَلْتُ الزُّهْرِيَّ

عَنْ رَجُلٍ طلَّقَ امْرَأَتَهُ وَهِيَ تَحِيضُ تَمْكُثُ ثَلَاثَةَ أَشْهُرٍ ثُمَّ تَحِيضُ حَيْضَةً ثُمَّ يَتَأَخَّرُ عَنْهَا الْحَيْضُ ثُمَّ تَمْكُثُ السَّبْعَةَ الْأَشْهُرَ وَالثَّمَانِيَةَ ثُمَّ تَحِيضُ أُخْرَى تَسْتَعْجِلُ إِليْهَا مَرَّةً وَتَسْتَأْخِرُ أُخْرى كَيْفَ تَعْتَدُّ؟ قَالَ «إِذا اخْتَلَفَتْ حَيْضَتُهَا عَنْ أَقْرَائِهَا فَعِدَّتُهَا سَنَةٌ»