The transfer of a textile dye from a dyed fabric to another fabric during washing or rinsing is inhibited by adding an enzyme exhibiting peroxidase activity or an enzyme exhibiting a suitable oxidase activity to the wash liquor in which said fabrics are washed and/or rinsed.