Assalamualaikum wa rahmatullahi wa barakatahu
الجواب وبالله التوفيق
At the time of performing the abortion if it is evident that even one organ was developed in the fetus then the resulting blood is considered as nifas.
If however even one organ was not developed, the resulting blood is considered as haidh. If the blood continues for less than 3 days or more than 10 days it will be considered as istihadah.
You should accordingly perform your salah based on the above details.
واللہ اعلم بالصواب