A device for fixing a first and a second tissue part or a tissue part and an implant part to each other is provided, providing a fastener including a thermoplastic material and a fastening instrument. The fastening instrument includes a first instrument component with a first contact surface facing toward a distal side and a second instrument component has a foot with a second contact surface distally of the first contact surface and facing toward a proximal side. The first instrument component and the second instrument component are displaceable with respect to each other, so that the fastener is compressible between the first and second contact surfaces by application of a relative force between the components. The instrument also includes an energy source for coupling mechanical energy into one of the instrument components to soften and/or melt an end portion of the fastener.