From Sahih Muslim (Hadith 2248):
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
Reference: Muslim 2248