Is it possible to have the intention before prayer to do it " to get closer to Allah " but adding " for the sake of Imam e Zaman AJ" ? in the sense that not getting closer to Allah for ourselves but only for our beloved Imam, in the sense that to get closer to Allah for the sake of being a better servant of the Imam. Is it possible to have such an intention or should we only do it for ourselves qurbatan Ila Allah? Would that intention be like shirk or something like that?

Gaining proximity to Allah is what would please the Imām (as) the most