Decades before the Muslim league took the name of "Pakistan" or presented the concept of Pakistan at Lahore on the 23rd of March 1940, it was Maulana Ashraf Ali Thanwi (RA) who stressed the need for Muslims of India to have a separate homeland to safeguard their rights.
Youtube Video
https://youtu.be/Eb4Ve9iWhmk