وَٱلْقَوَٰعِدُ مِنَ ٱلنِّسَآءِ ٱلَّـٰتِى لَا يَرْجُونَ نِكَاحًا فَلَيْسَ عَلَيْهِنَّ جُنَاحٌ أَن يَضَعْنَ ثِيَابَهُنَّ غَيْرَ مُتَبَرِّجَـٰتٍۭ بِزِينَةٍ ۖ وَأَن يَسْتَعْفِفْنَ خَيْرٌ لَّهُنَّ ۗ وَٱللَّهُ سَمِيعٌ عَلِيمٌ
wal-qawāʿidu mina l-nisāi allātī lā yarjūna nikāḥan falaysa ʿalayhinna junāḥun an yaḍaʿna thiyābahunna ghayra mutabarrijātin bizīnatin wa-an yastaʿfif'na khayrun lahunna wal-lahu samīʿun ʿalīmun
No blame will be attached to elderly women who are not hoping for sex, if they take off their outer garments without flaunting their charms, but it is preferable for them not to do this: God is all hearing, all seeing.
And as for women past child-bearing who do not expect wed-lock, it is no sin on them if they discard their (outer) clothing in such a way as not to show their adornment. But to refrain (i.e. not to discard their outer clothing) is better for them. And Allâh is All-Hearer, All-Knower.