Narrated 'Ali bin Abi Talib:
that the Messenger of Allah (ﷺ) said: "Do not lie upon me, for indeed whoever lies upon me, he will be admitted into the Fire."
Narrated Anas bin Malik:
that the Messenger of Allah (ﷺ) said: "Whoever lies upon me" - I think he said - "purposely, then let him take his seat in the Fire."