the minimums are with 8" of a NM box without clamps or 12" from a box with clamps and every 4 1/2 fett there after. Never staple on a twist, keep romex flat.

I once had a helper that could not grasp this concept so we had to go to stapling "hammer length apart", I kid you not...