Translation
(21) Funerals (Kitab Al-Jana'iz)
كتاب الجنائز
(1206) Chapter: It Is Disliked To Sit On Graves
(77) باب فِي كَرَاهِيَةِ الْقُعُودِ عَلَى الْقَبْرِ
Sunan Abi Dawud 3228 
Narrated Abu Hurairah:
The Messenger of Allah (ﷺ) as saying: It is better that one of you should sit on the live coals which burns his clothing and come in contact with his skin than that he should sit on a grave.
حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا خَالِدٌ، حَدَّثَنَا سُهَيْلُ بْنُ أَبِي صَالِحٍ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ لأَنْ يَجْلِسَ أَحَدُكُمْ عَلَى جَمْرَةٍ فَتَحْرِقَ ثِيَابَهُ حَتَّى تَخْلُصَ إِلَى جِلْدِهِ خَيْرٌ لَهُ مِنْ أَنْ يَجْلِسَ عَلَى قَبْرٍ ‏"‏ ‏.‏
Grade :  Sahih (Al-Albani) صحيح  (الألباني)حكم :
Reference : Sunan Abi Dawud 3228
In-book reference : Book 21, Hadith 140
English translation : Book 20, Hadith 3222