Question: where in the bible does it say scripture only?
Answer: In Matthew 23:2–3, Jesus teaches that the scribes and Pharisees have a legitimate, binding authority based "on Moses' seat", but this phrase or idea cannot be found anywhere in the Old Testament. It is found in the (originally oral) Mishnah, which teaches a sort of "teaching succession" from Moses.