Receptacle Replacement - If you want to replace a non-ground type receptacle or a two wire NM cable without a ground, then replace with another non-grounding type receptacle. Or a GFCI receptacle , marked ‘No Equipment Ground’ or Grounding type receptacle , if GFCI protected & marked ‘GFCI Protected’ and ‘ No Equipment Ground’.
406.3(D)(3)