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