Sahih Muslim, Book 3, Hadith 2 (Muslim 676)

'A'isha reported:

When anyone amongst us was menstruating the Messenger of Allah (ﷺ) asked her to tie waist-wrapper daring the time when the menstrual blood profusely flowed and then embraced her; and she ('A'isha) observed: And who amongst you can have control over his desires as the Messenger of Allah (ﷺ) had over his desires.