Sunan Ibn Majah, Book 5, Hadith 616 (Ibn Majah 1418)

It was narrated from Abu Wa’il that ‘Abdullah said:

“I prayed one night with the Messenger of Allah (ﷺ) and he kept standing until I thought of doing something bad.” I said: “What was that?”He said: “I thought of sitting down and leaving him.”