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