If the non-bathroom leaks, your house is on the top floor, and the house has a two-year warranty. During the warranty period, the developer is responsible for maintenance and compensation for the resulting economic losses. If the developer does not undertake, it will bring a lawsuit to the court.
If there is no water leakage in the bathroom, and your house is not the top floor, but the floor heating of the upstairs neighbor or the water pipe leaks, then ask the upstairs neighbor for compensation.