Asma’ bint Yazid reported: The Prophet, peace and blessings be upon him, passed by us while we were with a group of women and he greeted us with peace.
Source: Sunan Abī Dāwūd 5204
Grade: Sahih (authentic) according to Al-Albani
Ibn Battal said, “Men greeting women and women greeting men with peace is permissible, as long there is no risk of temptation.”
Source: ‘Awn al-Maʻbūd 14/75
عن أَسْمَاءُ ابْنَةُ يَزِيدَ قالت مَرَّ عَلَيْنَا النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي نِسْوَةٍ فَسَلَّمَ عَلَيْنَا
5204 سنن أبي داود أبواب النوم باب في السلام على النساء
5204 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح أبي داود
قَالَ ابْنُ بَطَّالٍ سَلَامُ الرِّجَالِ عَلَى النِّسَاءِ وَالنِّسَاءِ عَلَى الرِّجَالِ جَائِزٌ إِذَا أُمِنَتِ الْفِتْنَةُ
14/75 عون المعبود