Musnad Ahmad
It was narrated that ‘Ali (رضي الله عنه) said - I think he attributed it to the Prophet (ﷺ) “Whoever tells a lie about his dream will be ordered to tie a grain of barley on the Day of Resurrection.”
حَدَّثَنَا عَبْد اللَّهِ، حَدَّثَنِي إِسْحَاقُ بْنُ إِسْمَاعِيلَ، حَدَّثَنَا قَبِيصَةُ، حَدَّثَنَا سُفْيَانُ، عَنْ عَبْدِ الْأَعْلَى، عَنْ أَبِي عَبْدِ الرَّحْمَنِ، عَنْ عَلِيٍّ، رَضِيَ اللَّهُ عَنْهُ قَالَ أُرَاهُ رَفَعَهُ قَالَ مَنْ كَذَبَ فِي حُلْمِهِ كُلِّفَ عَقْدَ شَعِيرَةٍ يَوْمَ الْقِيَامَةِ.
Grade: Sahih because of corroborating evidence; this is a da'eef isnad] (Darussalam)
Reference