Full Sharh — Musnad Ahmad 660
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ الْوَلِيدِ، وَأَبُو أَحْمَدَ الزُّبَيْرِيُّ قَالَا حَدَّثَنَا سُفْيَانُ، عَنْ عَبْدِ الْأَعْلَى، عَنْ أَبِي عَبْدِ الرَّحْمَنِ، عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ، رَضِيَ اللَّهُ عَنْهُ قَالَ سُفْيَانُ لَا أَعْلَمُهُ إِلَّا قَدْ رَفَعَهُ قَالَ مَنْ كَذَبَ فِي حُلْمِهِ كُلِّفَ يَوْمَ الْقِيَامَةِ عَقْدَ شَعِيرَةٍ قَالَ أَبُو أَحْمَدَ قَالَ أُرَاهُ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ.
English Translation
It was narrated from ‘Ali bin Abi Talib (رضي الله عنه) - Sufyan said. I think he attributed it to the Prophet (ﷺ) He said:: `Whoever tells a lie about seeing me in his dream will be ordered on the Day of resurrection to tie a grain of barley.” Abu Ahmad said: I think it is from the Prophet (ﷺ).
Source
Musnad Ahmad(مسند أحمد)
Musnad 'Ali Ibn Abi Talib
Hadith Number
660