Sunan an-Nasa'i, Book 21, Hadith 246 (In-Book)

'Urwah bin Az-Zubair (narrated) that he heard Asma' bint Abi Bakr say: "The Messenger of Allah stood up and mentioned the trail with which a person will be tested in his grave. When he mentioned that the people became restless, which prevented me from understanding what the Messenger of Allah had said. When they settled down, I said to a man who was near me: 'May Allah bless you, what did the end?' he said: 'It has been revealed to me that you will be tested in your graves with a trial close to that of the Dajjal."'

أَخْبَرَنَا سُلَيْمَانُ بْنُ دَاوُدَ، عَنِ ابْنِ وَهْبٍ، قَالَ أَخْبَرَنِي يُونُسُ، عَنِ ابْنِ شِهَابٍ، أَخْبَرَنِي عُرْوَةُ بْنُ الزُّبَيْرِ، أَنَّهُ سَمِعَ أَسْمَاءَ بِنْتَ أَبِي بَكْرٍ، تَقُولُ قَامَ رَسُولُ اللَّهِ صلى الله عليه وسلم فَذَكَرَ الْفِتْنَةَ الَّتِي يُفْتَنُ بِهَا الْمَرْءُ فِي قَبْرِهِ فَلَمَّا ذَكَرَ ذَلِكَ ضَجَّ الْمُسْلِمُونَ ضَجَّةً حَالَتْ بَيْنِي وَبَيْنَ أَنْ أَفْهَمَ كَلاَمَ رَسُولِ اللَّهِ صلى الله عليه وسلم فَلَمَّا سَكَنَتْ ضَجَّتُهُمْ قُلْتُ لِرَجُلٍ قَرِيبٍ مِنِّي أَىْ بَارَكَ اللَّهُ لَكَ مَاذَا قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم فِي آخِرِ قَوْلِهِ قَالَ ‏ "‏ قَدْ أُوحِيَ إِلَىَّ أَنَّكُمْ تُفْتَنُونَ فِي الْقُبُورِ قَرِيبًا مِنْ فِتْنَةِ الدَّجَّالِ ‏" ‏ ‏.‏

sunnah.com