Sunan Ibn Majah 1962
It was narrated from Rabi'bin Sabrah that his father said :
"We went out with the Messenger of Allah on the Farewell pilgrimage, and they said : 'O Messenger of Allah, (ﷺ) celibacy has become too difficult for us'. He said : 'Then make temporary marriages with these women'. So we went to them, but they insisted on setting a fixed time between us and them. They mentioned that to the Prophet and he said : 'Set a fixed time between you and them.' So I went out with a cousin of mine. He had a cloak and I had a cloak, but his cloak was finer than mine, and I was younger than him. We came to a women and she said: 'One cloak is like another.' So I married her and stayed with her that night. Then the next day I saw the Messenger of Allah standing between the Rukn (corner) and the door (of the Ka'bah), saying : 'O people, I had permitted temporary marriage for you, but Allah has forbidden it until the Day of Resurrection. however had any temporary wives, he should let them go, and do not take back anything that you had given to them.' "
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَبْدَةُ بْنُ سُلَيْمَانَ، عَنْ عَبْدِ الْعَزِيزِ بْنِ عُمَرَ، عَنِ الرَّبِيعِ بْنِ سَبْرَةَ، عَنْ أَبِيهِ، قَالَ خَرَجْنَا مَعَ رَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ فِي حَجَّةِ الْوَدَاعِ فَقَالُوا يَا رَسُولَ اللَّهِ إِنَّ الْعُزْبَةَ قَدِ اشْتَدَّتْ عَلَيْنَا ‏.‏ قَالَ ‏"‏ فَاسْتَمْتِعُوا مِنْ هَذِهِ النِّسَاءِ ‏"‏ ‏.‏ فَأَتَيْنَاهُنَّ فَأَبَيْنَ أَنْ يَنْكِحْنَنَا إِلاَّ أَنْ نَجْعَلَ بَيْنَنَا وَبَيْنَهُنَّ أَجَلاً فَذَكَرُوا ذَلِكَ لِلنَّبِيِّ ـ صلى الله عليه وسلم ـ فَقَالَ ‏"‏ اجْعَلُوا بَيْنَكُمْ وَبَيْنَهُنَّ أَجَلاً ‏"‏ ‏.‏ فَخَرَجْتُ أَنَا وَابْنُ عَمٍّ لِي مَعَهُ بُرْدٌ وَمَعِي بُرْدٌ وَبُرْدُهُ أَجْوَدُ مِنْ بُرْدِي وَأَنَا أَشَبُّ مِنْهُ فَأَتَيْنَا عَلَى امْرَأَةٍ فَقَالَتْ بُرْدٌ كَبُرْدٍ ‏.‏ فَتَزَوَّجْتُهَا فَمَكَثْتُ عِنْدَهَا تِلْكَ اللَّيْلَةَ ثُمَّ غَدَوْتُ وَرَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ قَائِمٌ بَيْنَ الرُّكْنِ وَالْبَابِ وَهُوَ يَقُولُ ‏"‏ أَيُّهَا النَّاسُ إِنِّي قَدْ كُنْتُ أَذِنْتُ لَكُمْ فِي الاِسْتِمْتَاعِ أَلاَ وَإِنَّ اللَّهَ قَدْ حَرَّمَهَا إِلَى يَوْمِ الْقِيَامَةِ فَمَنْ كَانَ عِنْدَهُ مِنْهُنَّ شَىْءٌ فَلْيُخَلِّ سَبِيلَهَا وَلاَ تَأْخُذُوا مِمَّا آتَيْتُمُوهُنَّ شَيْئًا ‏"‏ ‏.‏