It is narrated from Hazrat Hudhaifa bin Yaman (may Allah be pleased with him) that when the Holy Prophet (peace and blessings be upon him) would wake up at night, the first thing he would do was use the miswak.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 23313