Imam Ahmad bin Hanbal (Rahmatullahi Alaih) states:
’’قلَّ رَجُل يَأْخُذ كتابا ينظر فِيہِ إِلَّا اسْتَفَادَ مِنْہُ شَيْئا‘‘
"It rarely happens that a person picks up a book to look into it except that he gains some benefit from it."
Meaning: Whenever you open a book, you surely gain benefit from it. Therefore, keep reading books.
(Al-Ilal wa Ma'rifat ar-Rijal by Abdullah bin Ahmad bin Hanbal: 2393, Contextual Translation)