I used to play with dolls, and sometimes the Messenger of Allah ﷺ would come in while I had girls with me. When he entered, they would leave, and when he left, they would come back in.
حدثنا مسدد حدثنا حماد عن هشام بن عروة عن أبيه
كنت ألعب بالبنات فربما دخل علي رسول الله ﷺ وعندي الجواري فإذا دخل خرجن وإذا خرج دخلن
No references are available.
Bukhari narrated it in the Book of Manners, in the chapter on being cheerful and open with people, hadith no. 6130, and Muslim narrated it in the Book of the Virtues of the Companions, in the chapter on the virtues of Ayesha, Mother of the Believers , hadith no. 2440, from the hadith of Hisham bin Urwa through this same chain.