Sahih Muslim , Book 29, Hadith 5624 (USC-MSA) ⓘ
Muhammad b. Sirin reported from Abu Huraira a hadith from Allah's Apostle and he mentioned in his hadith his words: "I dislike shackles," up to the end of his statement, but he made no mention of this: "A vision is a forty-sixth part of Prophecy."
وَحَدَّثَنَاهُ إِسْحَاقُ بْنُ إِبْرَاهِيمَ، أَخْبَرَنَا مُعَاذُ بْنُ هِشَامٍ، حَدَّثَنَا أَبِي، عَنْ قَتَادَةَ، عَنْ مُحَمَّدِ بْنِ سِيرِينَ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم . وَأَدْرَجَ فِي الْحَدِيثِ قَوْلَهُ وَأَكْرَهُ الْغُلَّ . إِلَى تَمَامِ الْكَلاَمِ وَلَمْ يَذْكُرِ " الرُّؤْيَا جُزْءٌ مِنْ سِتَّةٍ وَأَرْبَعِينَ جُزْءًا مِنَ النُّبُوَّةِ " .
also referenced under: Book 42, Hadith 12 (In-Book) & Hadith 2263 (Reference)