Hadith 258
´It was narrated from Ibn 'Umar that:` The Prophet said: "Whoever seeks knowledge for a reason other than the sake of Allah, or intends it for a purpose other than for the sake of Allah, let him take his place in hell."
Hadith 3898
´It was narrated that ‘Ubadah bin Samit said:` “I asked the Messenger of Allah (ﷺ) the about the Saying of Allah, Glorious is He: ‘For them are glad tidings, in the life of the present world, and in the Hereafter.”[10:64] He said: ‘Those are good dreams that a Muslim sees or are seen about him.’”