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." (AR)
Reference (AR): Sahih Muslim 2263 d (AR)
In-book reference (AR): Book 42, Hadith 12 (AR)
USC-MSA web (English) reference(deprecated numbering scheme): Book 29, Hadith 5624 (AR)