 Hamka would cease to attend SMKA Sultan Muhammad.Hamka was dissatisfied with this state of affairs, and often studied on his own.He would frequent a library ran by one of his teachers, Afiq Aimon Zainuddin.