رِيَاضُ الصَّالِحِينَ
Riyad as-Salihin 865
The Book of Greetings
A man sayinig salam to his wife or a mahram woman or non-mahrmam woman or women not fearing tribulation by them and giving them salam with this condition
وَعَنْ أَسْمَاءَ بِنْتِ يَزِيدَ رَضِيَ اللَّهُ عَنْهُ قَالَتْ: مَرَّ عَلَيْنَا النَّبِيُّ صَلَّى اللَّه عَلَيْهِ وَسَلَّمَ فِي نِسْوَةٍ فَسَلَّمَ عَلَيْنَا. ((رَوَاهُ أَبُو دَاوُدَ، وَالتِّرْمِذِيُّ وَقَالَ: حَدِيث حَسَن، وهذا لفظ أَبِي دَاوُد)) ولفظ التِّرْمِذِيّ: أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّه عَلَيْهِ وَسَلَّمَ مَرَّ فِي الْمَسْجِدِ يَوْمًا، وَعُصْبَةٌ مِنَ النِّسَاءِ قُعُودٌ، فَأَلْوَى بِيَدِهِ بِالتَّسْلِيمِ.
Asma bint Yazid (May Allah be pleased with her) reported: The Prophet (ﷺ) passed by us when we were with a party of women, and he greeted us with salam. [Abu Dawud and At-Tirmidhi who classified it as Hasan]. This is the wording of Abu Dawud. In At-Tirmidhi: that the Messenger of Allah (ﷺ) passed through the Masjid one day, and a group of women were sitting, so he motioned his hand with the salam.
Riyad as-Salihin, 865