I used to make the garlands for (the Hadis of) the Prophet (ﷺ) and he would garland the sheep (with them) and would stay with his family as a non-Muhrim.
Sahih al-Bukhari Book 25, Hadith 180