Is it ok to recite aaozu billahi minashaytani rajeem in ruku or sujood? I heard it makes the salat baatil.

If it is recited as a part of the prayer it would be invalid.