An-Nawawi reported: Ash-Shafi’ee, may Allah have mercy on him, said, “Seeking knowledge is better than voluntary prayers.”

'