Jami` at-Tirmidhi, Book 25, Hadith 78 (Tirmidhi 1925)

Narrated Abu Hurairah:

That the Messenger of Allah (ﷺ) said: "Whoever spends the night with on his hand and something happens to him, then let him not blame anyone but himself." This Hadith is Hasan Gharib, we do not know of it as a narration of Al-'Amash except through this route.