Is it permissible to combine two intentions in the Nafilah (supererogatory) Salah
such as to go to the Masjid (mosque) to perform two Rak`ahs with the intention of Tahiyyat-ul-Masjid (two-unit Prayer to salute the mosque) and offering one of the regular Sunnah of any other Salah? May Allah reward you best!
When a Muslim enters the Masjid and offers two Rak`ahs with the intention of offering a regular Sunnah and for greeting the Masjid, it will be sufficient for him.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.