As long as this practice was not done by the Salaf, we are not permitted to do it. That is why the scholars have said: It is not permissible to offer salām to a
7 June 2025 • 1.82K views
Why? Because the abstention of the Salaf from greeting women in general, especially young women, was a preventive measure—to block the means to temptation (sadd Adh-dhareeʿah).
As the old Egyptian poet once said:
نظرة فابتسامة فسلام
فكلام فموعد فلقاء
"A glance, then a smile, then a greeting, then words, then a meeting."
So, to prevent such chains of events, the wise Shari'ah closed the door to temptation and did not allow young men to greet young women, nor vice versa.
I hope I have answered your question.
...
Questioner: A Muslim man knocks on the door of another Muslim household. He knocks, and the wife asks, “Who is it?” and he replies, “As-Salāmu ’aleikum. I am so-and-so.” Is this permissible as well?
Shaykh: Yes, this is permissible because there is no fitnah involved in such a case.
Questioner: May Allāh reward you with goodness.
Shaykh: And you as well.
Source
https://t.me/womensbenefits/909