Riyad as-Salihin (The Meadows of the Righteous)
by Imam Nawawi
137. Chapter: On a man greeting his wife, female relatives and women who are not relatives if no temptation is feared. Greeting them is based on this precondition
863. Sahl ibn Sa'd said, "There was an old woman among us who use to take garden-beet (silq) and put it into a pot. Then she would grind some grains of barley. After finishing the Jumu'a prayer we would leave and greet her and then she would bring it to us. [al-Bukhari]
864. From Umm Hani' Fakhita bint Abi Talib said, "I went to the Messenger of Allah, may Allah bless him and grant him peace, on the Day of the Conquest of Makka when he was washing and Fatima was shielding him with a cloth and I gave the greeting," and she mentioned the hadith. [Muslim]
865. Asma' bint Yazid said, "The Prophet, may Allah bless him and grant him peace, passed by us, a group of women, and greeted us." [Abu Dawud and at-Tirmidhi]
These are the words of Abu Dawud. The words of at-Tirmidhi are, "The Messenger of Allah, may Allah bless him and grant him peace, passed by the mosque one day while a group of women were sitting and greeted them by gesturing with his hand."