"And tell the believing women to lower their gaze" [Nur 24:31], the verse. Then this was abrogated, and an exception was made by the verse, "And women past childbearing who have no hope of marriage" [Nur 24:60], the verse.
حدثنا أحمد بن محمد المروزي حدثنا علي بن الحسين بن واقد عن أبيه عن يزيد النحوي عن عكرمة
{وقل للمؤمنات يغضضن من أبصارهن} الآية فنسخ واستثنى من ذلك {والقواعد من النساء اللاتي لا يرجون نكاحا} الآية
No references are available.
[Its isnad is hasan] Bayhaqi narrated it, 7/93, from the hadith of Abu Dawud, in like manner.