AIMIM chief Asaduddin Owaisi has offered an alliance to the Samajwadi Party to stop the BJP from returning to power in UP for a third term.