Dear Brother, Assalamu Alykum. I imagine Kaaba in front of me while in the Salah in order to avoid absent minded thinking. Is it permissible?
All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His Slave and Messenger.
It is permissible for you to imagine the Ka‘bah before you during prayers, yet it is preferable to concentrate in prayer by reflecting on the Quran and thinking of the meaning of Thikr. For further information about the tips which help you pray with humbleness, see Fatwa 85048.
Allaah Knows best.
You can search for fatwa through many choices