Sahih al-Bukhari, Book 25, Hadith 181 (Bukhari 1641)

Narrated Aisha:

I used to twist the garlands for the sheep of the Prophet (ﷺ) and he would send them (to the Ka`ba), and stay as a non-Muhrim.