When anything distressed the Prophet (ﷺ), he prayed.
Sunan Abi Dawud Book 5, Hadith 70