When wahabis said it's ok to join prayers, he wrote Ĥājiz al-Baĥrayn al-Wāqī án Jamýi’s Şalātayn.
When they said it's bidah to kiss the thumbs, he wrote Munīru’l Áyn fī Ĥukmi Taqbīl al-Ibhāmayn and Nahju’s Salāmah fī Ĥukmi Taqbīl al-Ibhāmayni fi’l Iqāmah.
When they said it's not permitted to act on weak hadith, he wrote Al-Hād al-Kāf fī Ĥukm al-Điáāf.
When they said it's not permitted to give adhan at the grave, he wrote Yīdhān al-Ajr fī Ādhān al-Qabr.
When they said Taqlid is forbidden, he wrote Al-Nahiy al-Akīd áni’s Şalāh Warā’a Ídā al-Taqlīd.
When they spoke against Salah al-Ghawthiyyah, he wrote Anhāru’l Anwār fī Yammi Şalāti’l Asrār and Az’hāru’l Anwār min Şabā Şalāti’l Asrār.
When they said it's forbidden to make dua after Eid prayer, he wrote Sūruru’l Ýīd al-Saýīd fī Ĥilli’d Duáā Baáda Şalāt al-Ýīd.
When they said it's prohibited to hug after Eid prayer, he wrote Wishāĥ al-Jīd fī Taĥlīli Muáānaqati’l Ýīd.
When they said it's forbidden to write upon the funeral shroud, he wrote Al-Ĥarf al-Ĥasan fi’l Kitābati álā al-Kafan.
When they said it's forbidden to make dua after the funeral, he wrote Badhl al-Jawāyiz ála’d Duáā Baáda Şalāti’l Janāyiz.
When they said conveying reward is not permitted, he wrote Al-Ĥujjatu’l Fāyiĥah li Tībi’t Taáyyun wa’l Fātiĥah.
When they said the souls do not return to their worldly homes, he wrote Ityānu’l Arwāĥ li Diyārihim Baád al-Rawāĥ.
When they said the dead cannot hear, he wrote Ĥayātu’l Mawāt fī Bayāni Samāá al-Amwāt.
When they questioned the meaning of Final Prophet, he wrote Al-Mubīn Khatam al-Nabiyyīn.
When they said lying is within Divine Power, he wrote Sub’ĥān as-Subbūĥ án Áybi Kadhibun Maqbūĥ, Dāmān e Bāgh e Sub’ĥān as-Subbūĥ and Al-Qam’a al-Mubīn li Aāmāli’l Mukadh’dhibīn.
On the finality of prophethood, he wrote Al-Sū’u wa’l Íqāb ála’l Masīĥi’l Kadh’dhāb, Qahru’d Dayyān ála’l Murtaddi bi Qādiyān, Al-Jurāz al-Dayyānī ála’l Murtadd al-Qādiyānī and Jazā’a Allāh Áduwwah bi-Ibā’ihi Khatm al-Nubuwwah.
When wahabis said it's shirk to seek help from prophets and saints, he wrote Barakāt al-Imdād li Ahli al-Istimdād.
When they objected to RasulAllah ﷺ being called King of Kings, he wrote Fiqh Shahinshāh wa anna’l Qulūba bi Yadi’l Maĥbūb bi Áţāyillāh.
When they objected to holy relics, he wrote Badru’l Anwār fī Aādab al-Aāthār and Shifā’a al-Wālih fī Şuwar al-Ĥabīb wa Mazārihi wa Niáālihi.
When they said it's forbidden to shake hands with both hands, he wrote Şafāyiĥ al-Lujayn fī Kawni’t al-Taşāfuĥ bi Kaffay al-Yadayn.
When they objected to kissing objects reverentially, he wrote Abarr al-Maqāl fī Istiĥsāni Qublati’l Ijlāl.
On the prohibition of prostrating to other than Allah, he wrote Az-Zubdatu’z Zakiyyah fī Taĥrīmi Sujūd al-Taĥiyyah.
On growing the fistful beard, he wrote Lumátu’d Đuĥā fī Iýfā’a al-Liĥā.
On rafidis adding to the adhan, he wrote Al-Adillah al-Ţāýinah fī Aādhān al-Malāýinah.
When wahabis objected to standing for respect and Mawlid, he wrote Iqāmatu’l Qiyāmah álā Ţāýini’l Qiyāmi li Nabiy Tihāmah.
When wahabis misapplied the saying of Imam Abu Hanifah about sahih hadith, he wrote Al-Fađl al-Mawhibi fī Maánā: idhā şaĥĥa’l ĥadithu fa huwa madh’habī.
When deobandis permitted the eating of crowmeat, he wrote Dafá e Zaygh e Zāgh.
When tafdili shiah denied the preeminence of Abu Bakr Siddiq, he wrote Ghāyatu’t Taĥqīq fī Imāmati al-Álī wa’s Şiddīq, Al-Zulāl al-Anqā min Baĥri Sabqati’l Atqā and others.
When wahabis said it's shirk to believe in knowledge of unseen, he wrote Khālişu’l Iýtiqād, Inbā’a al-Muşţafā bi Ĥāli Sirrin wa Akhfā, Izāĥatu’l Áyb bi Sayfi’l Ghayb, al-Dawlah al-Makkiyyah bi’l-Māddah al-Ghaybiyyah and many other works.
When they said don't call upon RasulAllah ﷺ, he wrote Anwāru’l Intibāh fi Ĥilli Nidāyi Ya RasūlAllāh.
When they denied the intercession of RasulAllah ﷺ, he wrote Asmāá al-Arbaýīn fī Shafāáti Sayyid al-Maĥbūbīn.
On the kufr of Abu Talib, he wrote Sharĥ al-Maţālib fī Mab’ĥathi Abī Ţālib.
When wahabis objected to RasulAllah ﷺ being the leader of prophets, he wrote Tajalli al-Yaqīn bi anna Nabiyyanā Sayyid al-Mursalīn.
When they said the parents of RasulAllah ﷺ are not Muslim, he wrote Shumūl al-Islām li Uşūli’r Rasūl al-Kurām.
When deobandis insulted RasulAllah ﷺ, he wrote Tamhīd e Īmān ba Aāyāt e Qur’ān.
When they said it's shirk to say RasulAllah ﷺ is remover of difficulties, he wrote Al-Amn wa’l úlā li Nāýiti al-Muşţafā bi Dāfiý al-Balā’a.
When they said RasulAllah ﷺ has no authority, he wrote Munyatu’t Labīb anna’t Tashrīý bi Yadi’l Ĥabīb.
On RasulAllah ﷺ seeing Allah, he wrote Munabbih al-Munyah bi Wuşul al-Ĥabīb ila’l Ársh wa’r Ru’yah.
When wahabis denied the light of RasulAllah ﷺ, he wrote Şilāt al-Şafā fī Nūr al-Muşţafā.
When they denied the Shadowless nature of RasulAllah ﷺ, he wrote Nafy al-Fayy ámman Istināra bi Nūrihi Kullu Shayy, Qamr al-Tamām fī Nafyi’z Żilli án Sayyidi’l Anām and Hady al-Ĥayrān fī Nafyi’l Fayyi án Sayyidi’l Akwān.
---
Oh, that was just 53 of his works. He actually authored close to a thousand.