Sahih Muslim Book 8, Hadith Number 3256.

Chapter: Temporary marriage and its prohibition for all times to come.

This hadith has been narrated on the authority of ‘Abd al-‘Aziz b ‘Umar with the same chain of transmitters, and he said: I saw Allah’s Messenger (May peace be upon him) standing between the pillar and the gate (of the Ka’ba) and he was relating a hadith as narrated by Ibn Numair.