Allah knows best about what they were doing.
Sunan Abi Dawud Book 42, Hadith 116