A pipe shaft module configured for being provided in a pipe shaft of a building and for being connected to at least one pipe (17a,b,c) from another part of the pipe shaft, said pipe shaft module comprising: - a pipe connection box; and - at least one pipe (7a,b,c) which is protruding into the pipe connection box and which is provided to the pipe connection box such that the at least one pipe (7a,b,c) can slide along its length direction in relation to the pipe connection box such that a first end (9a,b,c) of the at least one pipe (7a,b,c) is protruding further into or less into the pipe connection box, wherein said pipe connection box comprises: - a pipe connection device comprising at least one pipe connector (13a,b,c) for each of the at least one pipe (7a,b,c) provided in the pipe shaft module, wherein said pipe connection device is mounted within the pipe connection box such that the pipe connection device can be moved within the pipe connection box into at least two different positions where a first position is a position where the at least one pipe connector (13a,b,c) is provided in a position not being in a length extension direction of the at least one pipe (7a,b,c) of the pipe shaft module and a second position is a connection position in which the at least one pipe connector (13a,b,c) is positioned such that the at least one pipe connector (13a,b,c) can be connected to the at least one pipe (7a,b,c) of the pipe shaft module; and - at least one pipe receiving opening (15a,b,c) configured for receiving the at least one pipe (17a,b,c) from the other part of the pipe shaft of the building for connection with the at least on pipe (7a,b,c) of the pipe shaft module through the at least one pipe connector (13a,b,c) of the pipe connection device. - a pipe connection box; and - at least one pipe (7a,b,c) which is protruding into the pipe connection box and which is provided to the pipe connection box such that the at least one pipe (7a,b,c) can slide along its length direction in relation to the pipe connection box such that a first end (9a,b,c) of the at least one pipe (7a,b,c) is protruding further into or less into the pipe connection box, - a pipe connection device comprising at least one pipe connector (13a,b,c) for each of the at least one pipe (7a,b,c) provided in the pipe shaft module, wherein said pipe connection device is mounted within the pipe connection box such that the pipe connection device can be moved within the pipe connection box into at least two different positions where a first position is a position where the at least one pipe connector (13a,b,c) is provided in a position not being in a length extension direction of the at least one pipe (7a,b,c) of the pipe shaft module and a second position is a connection position in which the at least one pipe connector (13a,b,c) is positioned such that the at least one pipe connector (13a,b,c) can be connected to the at least one pipe (7a,b,c) of the pipe shaft module; and - at least one pipe receiving opening (15a,b,c) configured for receiving the at least one pipe (17a,b,c) from the other part of the pipe shaft of the building for connection with the at least on pipe (7a,b,c) of the pipe shaft module through the at least one pipe connector (13a,b,c) of the pipe connection device.