Hazrat Mughira says that Ibrahim was asked about killing a scorpion during prayer, so he replied that prayer has its own engagement.