Though there's a fair amount of disagreement among scholars of city population at various points in history Tertius Chandler's Four Thousand Years of Urban Growth: An Historical Census is the reference text on this. The position for biggest city has shifted around a fair bit but some of those who've repeatedly topped the list include Memphis, Beijing, Babylon, Thebes, Constantinople and Hangzhou.
Sorry, we don't allow throughout history questions. These tend to produce threads which are collections of trivia, not the in-depth discussions about a particular topic we're looking for. If you have a specific question about a historical event or period or person, please feel free to re-compose your question and submit it again. Alternatively, questions of this type can be directed to more appropriate subreddits, such as /r/history or /r/askhistory.