Shaikh Sufyan bin Thawri (Allah have mercy on him) used to say:
“My mother advised me:
Only seek religious knowledge if you intend to implement it.
Otherwise, it will be a source of torment for you on the Day of Resurrection.’ ”
Ikhlaq as-Saliheen, translation Tambih al Mughtarin of of Imam Sha’rani (Allah have mercy on him)