(32) The Book of Jihad and Expeditions
كتاب الجهاد والسير
(34) Chapter: The truce of Al-Hudaybiyah
(34) باب صُلْحِ الْحُدَيْبِيَةِ فِي الْحُدَيْبِيَةِ ‏‏
Sahih Muslim 1785 c 

The same tradition has been narrated through a different chain of transmitters on the authority of A'mash. This version contains the words:

Ila amrin yofzi'una instead of Ila amrin na'rifuhu.
وَحَدَّثَنَاهُ عُثْمَانُ بْنُ أَبِي شَيْبَةَ، وَإِسْحَاقُ، جَمِيعًا عَنْ جَرِيرٍ، ح وَحَدَّثَنِي أَبُو سَعِيدٍ، الأَشَجُّ حَدَّثَنَا وَكِيعٌ، كِلاَهُمَا عَنِ الأَعْمَشِ، بِهَذَا الإِسْنَادِ ‏.‏ وَفِي حَدِيثِهِمَا إِلَى أَمْرٍ يُفْظِعُنَا.‏
Reference : Sahih Muslim 1785c
In-book reference : Book 32, Hadith 117
USC-MSA web (English) reference : Book 19, Hadith 4407
  (deprecated numbering scheme)