Question:
Will it be permissible to think of Nabi صلى الله عليه و سلم in Salaah, his greatness, characteristics etc?
Answer:
One way of attaining concentration in Salaah is by pondering over the meaning of whatever we recite in Salaah. When reciting At-Tahiyyaat we say, “As-Salaamu’alaika Ayyuhan Nabiyu Warahmatullahi Wabarakatuhu.” Thinking of Rasulullah g when reciting the above words is inevitable, hence there is no harm in thinking of Rasulullah g at such a juncture.
[Re:- Fataawa Mahmoodiyyah Pg.227 Vol.3] g