YOU ARE ALLOWED TO BREAK THE NAMAZ IN THE FOLLOWING SITUATIONS
1. Someone is in difficulty and is asking for help and is calling the one praying.
2. Someone whose life is in danger and is calling the one praying.
3. You are going to be harmed or fear harm, e.g being bitten by a poisonous creature.
4. If you fear harm to your property or something is taken from you when you are in the state of namaz, e.g money stolen from you etc.
For the above, one must ensure not to let namaz time pass by, but still offer the repeat of the namaz as soon as possible, in its prescribed time