Sahih Muslim #971 a
The Book of Prayer - Funerals 11:124
Abu Huraira reported Allah's Messenger (ﷺ) as saying:
It is better that one of you should sit on live coals which would burn his clothing and come in contact with his skin than that he should sit on a grave.