What is the stated ruling on active fighting while praying?

Salat al-Khawf: Congregational Prayer and Worship under Threat