In the disclosed solution a washing machine (1) comprises: a feed opening (4) for feeding a textile product (2) into the washing machine (1); transfer means (8) for transferring the textile product (2) in the washing machine (1), and at least one washing head (WU) for washing the textile product (2). The washing machine (1) further comprises, in connection with its feed opening (4), an underpressure-operated holding device (6). This way, the end of the washable textile product (2) may be held in place by suction and a suction force or effect formed by means of it until a user of the washing device has taken his hand away from the feed opening (4).