Salamunaleikum, I heard that taqwa to Allah increases rizq and life span. If one has taqwa with that intention, is that a wrong intention because it should be done for Allah and not for an increase of rizq or lifespan? May Allah preserve you, Ustadh.

Ustadh AbdulAziz al-Haqqan
Do not fall into waswas. You are doing it for the sake of Allah Subhanahu wa Ta'ala, and you know that these are rewards. So, Alhamdulillah, if Allah Subhanahu wa Ta'ala bestows them upon you, there is only goodness in that, Insha'Allah.