Where support is withdrawn without sufficient precaution, sec. 364b ABGB applies.
Where the neighbouring plot is dug or deepened so far that your soil or building is deprived of the necessary support, this may only be done with sufficient alternative reinforcement. If that securing is omitted, you can demand an injunction under sec. 364b ABGB. Where the builder is at fault, damages additionally come into consideration.
First secure the condition of your building before and during the works. A legal assessment clarifies whether a request to the neighbour or a court step is the right path.