Mā can be read as a relative pronoun in afhamu mā taqūlu.

Choosing the Correct Parsing: Meaning, Governance and Context