كتاب القدر
46  
The Book of Destiny
(4)
Chapter: Everything Is Decided And Decreed
(4)
باب كُلُّ شَىْءٍ بِقَدَرٍ ‏ ‏
Sahih Muslim 2657 a

Abu Huraira reported that the polytheists of the Quraish came to have an argument with Allah's Messenger (ﷺ) in regard to Destiny and then this verse was revealed:

" On the day when they are dragged into the Fire upon their faces, taste the touch of Fire. Surely, We have created everything according to a measure" (liv. 48).
Reference : Sahih Muslim 2657a
In-book reference : Book 46, Hadith 31
USC-MSA web (English) reference : Book 33, Hadith 6420
  (deprecated numbering scheme)