ספר המדות, Improper Thoughts / Part I Improper Thoughts / Part I · ב
Sefer HaMiddot 733
ב. כְּשֶׁאַתָּה מִתְפַּלֵּל וְנוֹפֵל לְךָ הִרְהוּרֵי עֲבוֹדָה זָרָה תְּכַוֵּן בְּשֵׁם "אֱלֹקֵינוּ".
2. When you are praying and thoughts of idol worship befall you, concentrate on the name "Elo-hainu".