Muwatta Malik 553
موطأ مالك#553Da'ifThese are the words of a Companion, not of the Prophet ﷺ. The chain is graded on its own terms.
وَحَدَّثَنِي عَنْ مَالِكٍ، أَنَّهُ بَلَغَهُ أَنَّ عَلِيَّ بْنَ أَبِي طَالِبٍ، كَانَ يَتَوَسَّدُ الْقُبُورَ وَيَضْطَجِعُ عَلَيْهَا . قَالَ مَالِكٌ وَإِنَّمَا نُهِيَ عَنِ الْقُعُودِ عَلَى الْقُبُورِ فِيمَا نُرَى لِلْمَذَاهِبِ .
ahya related to me from Malik that he had heard that AIi ibn Abi Talib used to rest his head on graves and lie on them. Malik said, "As far as we can see ,it is only forbidden to sit on graves to relieve oneself
Scholarly Authentication
The label above is the grade most of these scholars gave — one dissenting opinion no longer speaks for all of them. If any scholar calls a narration fabricated, that verdict is shown instead, whatever the others say. Each scholar's own wording:
In-book reference: 16:34