"When therefore he was risen from the dead, his disciples remembered that he had said this unto them; and they believed the scripture, and the word which Jesus had said."
We sometimes like to make a dichotomy between Jesus' words and the written scriptures.
But there is no dichotomy here. Instead, the disciples believed (trusted in) the written word. They likewise trusted in the words spoken by Jesus. The 2 go together. Making a false dichotomy solves no problems, and instead puts a wedge into the biblical faith.