I said to Ibn Umar, "Tell me about your divorce of your wife."He said, "I divorced her while she was menstruating, so I mentioned that to Umar bin Khattab , who in turn mentioned it to the Prophet ﷺ. The Prophet ﷺ said, 'Order him to take her back, and when she becomes pure, let him divorce her during her state of purity.'"I asked him, "Did you count that divorce, the one you pronounced while she was menstruating?"He replied, "Why would I not count it? Even if I had been incapable or acted foolishly."
حدثنا يزيد أخبرنا عبد الملك
قلت لابن عمر حدثني عن طلاقك امرأتك قال طلقتها وهي حائض قال فذكرت ذلك لعمر بن الخطاب رضي الله عنه فذكره للنبي ﷺ فقال النبي ﷺ مره فليراجعها فإذا طهرت فليطلقها في طهرها قال قلت له هل اعتددت بالتي طلقتها وهي حائض قال فما لي لا أعتد بها وإن كنت قد عجزت واستحمقت
Its isnad is sahih. Abdul-Malik is Ibn Abu Sulayman al-Arzami, spelled with a fatha on the ain, a sakin on the ra, and a fatha on the zay. He is trustworthy, reliable, and firmly established, though Shubah spoke about him in a way that does not detract from his reliability.