Muwatta Malik, Book 20, Hadith 956 (In-Book)

Yahya related to me from Malik from Abdullah ibn Abi Bakr ibn Hazm from Ibn Abi Mulayka that Umar ibn al-Khattab passed a leprous woman doing tawaf of the House, and he said to her, "Slave of Allah, do not make people uneasy. Better that you stay in your house," so she did so. A man passed by her after that and said to her, "The one who forbade you has died, so come out," and she replied, "I am not going to obey him when he is alive and disobey him when he is dead."

وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ عَبْدِ اللَّهِ بْنِ أَبِي بَكْرِ بْنِ حَزْمٍ، عَنِ ابْنِ أَبِي مُلَيْكَةَ، أَنَّ عُمَرَ بْنَ الْخَطَّابِ، مَرَّ بِامْرَأَةٍ مَجْذُومَةٍ وَهِيَ تَطُوفُ بِالْبَيْتِ فَقَالَ لَهَا يَا أَمَةَ اللَّهِ لاَ تُؤْذِي النَّاسَ لَوْ جَلَسْتِ فِي بَيْتِكِ ‏.‏ فَجَلَسَتْ فَمَرَّ بِهَا رَجُلٌ بَعْدَ ذَلِكَ فَقَالَ لَهَا إِنَّ الَّذِي كَانَ قَدْ نَهَاكِ قَدْ مَاتَ فَاخْرُجِي ‏.‏ فَقَالَتْ مَا كُنْتُ لأُطِيعَهُ حَيًّا وَأَعْصِيَهُ مَيِّتًا ‏.‏

sunnah.com

also referenced under: Book 20, Hadith 259 (USC-MSA)