A method of plugging and abandoning a well, the method involving perforation, cleaning and plugging of a longitudinal section of the well, said longitudinal section comprising a wellbore, a pipe string placed within the wellbore, and an annulus located between the wellbore and the pipe string, wherein the method comprises the following steps: lowering a perforation tool into the pipe string onto said longitudinal section of the well; by means of the perforation tool, forming perforations in the pipe string along said longitudinal section; by means of a flushing tool attached to a lower end portion of a tubular work string, which is lowered into the pipe string onto said longitudinal section, pumping a flushing fluid down through the tubular work string, out through at least one flushing outlet in the flushing tool, into the pipe string and further out into said annulus via the perforations in the pipe string, thereby cleaning both the pipe string and the annulus along said longitudinal section, wherein an outlet axis (b) of at least one of said at least one flushing outlet in the flushing tool is non-perpendicular to a longitudinal axis (a) of the flushing tool, whereby a corresponding flushing jet from the flushing tool also is non-perpendicular to the longitudinal axis (a) of the flushing tool; pumping a fluidized plugging material down through the tubular work string and into the pipe string at said longitudinal section; placing the fluidized plugging material in the pipe string along at least said longitudinal section, thereby also placing the fluidized plugging material in said annulus via the perforations in the pipe string, whereupon the fluidized plugging material forms a plug covering substantially a complete cross section of the well along at least said longitudinal section of the well; pulling the tubular work string out of the well, characterized in that the method also comprises: abandoning the well); and wherein the method, in steps and, comprises pumping the fluidized plugging material into the pipe string via at least one spraying outlet in the flushing tool so as to discharge as a corresponding spraying jet of fluidized plugging material from the flushing tool. lowering a perforation tool into the pipe string onto said longitudinal section of the well; by means of the perforation tool, forming perforations in the pipe string along said longitudinal section; by means of a flushing tool attached to a lower end portion of a tubular work string, which is lowered into the pipe string onto said longitudinal section, pumping a flushing fluid down through the tubular work string, out through at least one flushing outlet in the flushing tool, into the pipe string and further out into said annulus via the perforations in the pipe string, thereby cleaning both the pipe string and the annulus along said longitudinal section, wherein an outlet axis (b) of at least one of said at least one flushing outlet in the flushing tool is non-perpendicular to a longitudinal axis (a) of the flushing tool, whereby a corresponding flushing jet from the flushing tool also is non-perpendicular to the longitudinal axis (a) of the flushing tool; pumping a fluidized plugging material down through the tubular work string and into the pipe string at said longitudinal section; placing the fluidized plugging material in the pipe string along at least said longitudinal section, thereby also placing the fluidized plugging material in said annulus via the perforations in the pipe string, whereupon the fluidized plugging material forms a plug covering substantially a complete cross section of the well along at least said longitudinal section of the well; pulling the tubular work string out of the well, characterized in that the method also comprises: abandoning the well); and