“In yasriq fa-qad saraqa akhun lahu min qabl”
“If he stole, a brother of his stole before.” (Yūsuf 12:77, excerpt)
This is a statement made by Joseph’s brothers. Its force is to reinforce an accusation through an alleged earlier parallel; recording their statement is not certification that their allegation was historically true.
“Man kāna ʿaduwwan li-Jibrīla fa-innahu nazzalahu ʿalā qalbika bi-idhni Allāh”
“Whoever is hostile to Gabriel—he brought it down upon your heart by God’s permission.” (al-Baqarah 2:97, excerpt)
The asserted fact of Gabriel conveying revelation explains why hostility toward him is misplaced; the next verse completes the moral judgment. The stated response conveys a broader argumentative conclusion.
Across verbs, nouns, particles and clauses, ibdāl is guided interpretation of the received words, never their replacement.