Ibn Umar divorced his wife while she was menstruating, so Umar asked the Prophet ﷺ about it. He instructed him to take her back, then wait until she menstruated again, then wait until she became pure, then divorce her before touching her. That is the waiting period in accordance with which Allah commanded that women be divorced.Whenever Ibn Umar was asked about a man who divorced his wife while she was menstruating, he would say, "If you have divorced her once or twice, then the Messenger of Allah ﷺ commanded him to take her back, then wait until she menstruated again, then wait until she became pure, then divorce her if he did not wish to keep her. But if you have divorced her three times, then you have disobeyed Allah Almighty in what He commanded you regarding the divorce of your wife, and she is irrevocably separated from you and you from her."
حدثنا عبد الوهاب بن عبد المجيد عن أيوب
أن ابن عمر طلق امرأته وهي حائض فسأل عمر النبي ﷺ فأمره أن يراجعها ثم يمهلها حتى تحيض حيضة أخرى ثم يمهلها حتى تطهر ثم يطلقها قبل أن يمسها فتلك العدة التي أمر الله أن تطلق لها النساء وكان ابن عمر إذا سئل عن الرجل يطلق امرأته وهي حائض يقول إما أنت طلقتها واحدة أو اثنتين فإن رسول الله ﷺ أمره أن يراجعها ثم يمهلها حتى تحيض حيضة أخرى ثم يمهلها حتى تطهر ثم يطلقها إن لم يرد إمساكها وإما أنت طلقتها ثلاثا فقد عصيت الله تعالى فيما أمرك به من طلاق امرأتك وبانت منك وبنت منها
Its isnad is sahih, and it is the fuller version of 5299. This appears to be a mursal narration, because it comes from Nafi that Ibn Umar divorced his wife, and so on. However, the earlier narrations from Nafi all state that it is from Ibn Umar. This removes the suspicion of mursal transmission that was in the isnad.