Sahih Muslim | Book 30 | Hadith Number 5751

Narrated by Anas
Anas reported that a woman had a partial derangement in her mind, so she said. Allah's Messenger, I want something from you. He said: Mother of so and so, see on which side of the road you would like (to stand and talk) so that I may do the needful for you. He stood aside with her on the roadside until she got what she needed.