Sunan an-Nasa'i, Hadith 3549 ⓘ
It was narrated that Fatimah bint Qais said: "My husband divorced me and I wanted to move, so I went to the Messenger of Allah and he said: 'Move to the house of your paternal cousin 'Amr bin Umm Maktum, and observe your 'Iddah there.'" Al-Aswad hit him (Ash-Sha'bi) with a pebble and said: "Woe be to you! Why do you issue such a Fatwa? 'Umar said: 'If you bring two witnesses who will testify that they heard that from the Messenger of Allah (we will believe you), otherwise, we will not leave the Book of Allah for the word of a woman.' 'And turn them not out of their (husband's) homes nor shall they (themselves) leave, except in case they are guilty of some open Fahishah.'"
أَخْبَرَنِي أَبُو بَكْرِ بْنُ إِسْحَاقَ الصَّاغَانِيُّ، قَالَ حَدَّثَنَا أَبُو الْجَوَّابِ، قَالَ حَدَّثَنَا عَمَّارٌ، - هُوَ ابْنُ رُزَيْقٍ - عَنْ أَبِي إِسْحَاقَ، عَنِ الشَّعْبِيِّ، عَنْ فَاطِمَةَ بِنْتِ قَيْسٍ، قَالَتْ طَلَّقَنِي زَوْجِي فَأَرَدْتُ النُّقْلَةَ فَأَتَيْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالَ " انْتَقِلِي إِلَى بَيْتِ ابْنِ عَمِّكِ عَمْرِو ابْنِ أُمِّ مَكْتُومٍ فَاعْتَدِّي فِيهِ " . فَحَصَبَهُ الأَسْوَدُ وَقَالَ وَيْلَكَ لِمَ تُفْتِي بِمِثْلِ هَذَا . قَالَ عُمَرُ إِنْ جِئْتِ بِشَاهِدَيْنِ يَشْهَدَانِ أَنَّهُمَا سَمِعَاهُ مِنْ رَسُولِ اللَّهِ صلى الله عليه وسلم وَإِلاَّ لَمْ نَتْرُكْ كِتَابَ اللَّهِ لِقَوْلِ امْرَأَةٍ { لاَ تُخْرِجُوهُنَّ مِنْ بُيُوتِهِنَّ وَلاَ يَخْرُجْنَ إِلاَّ أَنْ يَأْتِينَ بِفَاحِشَةٍ مُبَيِّنَةٍ } .
also referenced under: Book 27, Hadith 163 (In-Book) & Volume 4, Book 27, Hadith 3579 (DarusSalam)