I believe it was said pretty early on in the episode Co-Dependent's Day. Bart reacts to Cosmic Wars by saying "What the farkbot?"