Sunan Ibn Majah 1963
It was narrated that Ibn 'Umar said:
"When 'Umar bin Khattab was appointed caliph, he addressed the people and said: 'The Messenger of Allah permitted temporary marriage for us three times, then he forbade it. By Allah, If I hear of any married person entering a temporary marriage, I will stone him to death, unless he can bring me four witnesses who will testify that the Messenger of Allah, allowed it after he forbade it'."
حَدَّثَنَا مُحَمَّدُ بْنُ خَلَفٍ الْعَسْقَلاَنِيُّ، حَدَّثَنَا الْفِرْيَابِيُّ، عَنْ أَبَانَ بْنِ أَبِي حَازِمٍ، عَنْ أَبِي بَكْرِ بْنِ حَفْصٍ، عَنِ ابْنِ عُمَرَ، قَالَ لَمَّا وَلِيَ عُمَرُ بْنُ الْخَطَّابِ خَطَبَ النَّاسَ فَقَالَ إِنَّ رَسُولَ اللَّهِ ﷺ أَذِنَ لَنَا فِي الْمُتْعَةِ ثَلاَثًا ثُمَّ حَرَّمَهَا وَاللَّهِ لاَ أَعْلَمُ أَحَدًا تَمَتَّعَ وَهُوَ مُحْصَنٌ إِلاَّ رَجَمْتُهُ بِالْحِجَارَةِ إِلاَّ أَنْ يَأْتِيَنِي بِأَرْبَعَةٍ يَشْهَدُونَ أَنَّ رَسُولَ اللَّهِ أَحَلَّهَا بَعْدَ إِذْ حَرَّمَهَا .