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