Sunan Ibn Majah, Book 1, Hadith 256 (In-Book)

It was narrated that Isma'il said: "We entered upon Hasan to inquire after him until we filled the house. He tucked up his legs, the he (hasan) said: 'We entered upon Abu Hurairah to inquire after him until we filled the house. He (Abu Hurairah) tucked up his legs and said: "We entered upon the Messenger of Allah until we filled the house. He was lying on his side, but when he saw us he tucked up his legs then he said: 'After I am gone, there will come to you people seeking knowledge. Welcome them, greet them and teach them.'" (Maudu')A narrator said: By Allah! We came across some people who did not welcome us, greet us, nor teach us unil we used to go to them, then they treated us rudely.

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

sunnah.com