The question is very much valid and it makes very good sense. The following references from Quran and hadeeths seem to lend credence to the dilemma expressed by the questioner:
Quran—Surah.7:178-179; 10:99-100; 76:29-30; 81:28-29
Hadeeths—Sahih Bukhari Volume 9, Hadith Number 641; V 2, Book 23, Hadeeth Number 444; V 8, Book 77, Hadeeth Number 593;
Sahih Muslim Book 33, Hadith 6436
Since I am a Christian by faith and practice, I refrain from giving any interpretation of the above references.
However, the question is as relevant to Islam as any other theistic faiths, including Christianity. Therefore, I would like to present the response to the above question from the biblical point of view.
God: By definition God is Omnipresent, Omniscient, Omnipotent (Natural Attributes), Eternal, Infinite, One (Philosophical Attributes), Holy, Just and Love (Moral Attributes).
Omniscience: God knows what is knowable, but not what is unknowable. God doesn’t know how to create another God or how to annihilate Himself or how He can commit sin or create a stone which He cannot lift etc. Mainly because all such statements are illogical statements and are, therefore, talking about intrinsically impossible things. In other words, they are non-sensical statements. Such things are unknowable even to God.
However, God knows all that are possible because only they are knowable. There are only three categories of beings, namely, necessary being (exists always--God), possible beings (may or may not exist—humans, creatures, matter, time etc.), and impossible beings (will never exist—a new God, a rock that even God cannot lift, a triangular circle etc.).
All possible beings are contingent beings. They are dependent on the necessary being i.e. God. All possible things God can plan and create. All what God can plan and create are knowable. Therefore, God knows if and only if He plans to create any entity or event. God knows what He has planned, but doesn't know what He hasn't.
Future: Future doesn’t exist as a reality now. If it is going to exist later, then it is God who will be the Creator of the future. So, God knows the future as He intends to create it, including all the free beings such as humans and angels, and their actions (Isaiah 37:26, 46:10-11,48:3). If God is the one who is going to create the future then He knows exactly how He is going to create it and how it is going to be. If He chooses to leave out some roles, events or actions of the free beings in the future He wants to create, He can do so and that’s how He knows the future.
Whatever God leaves out in the future they are the ‘empty spaces’ that can be filled in later either by God or by the free beings with their free-will. Those empty spaces are nothing to know about. Therefore, God doesn’t know how they are going to be until they are determined either by God (in His sovereignty) or by free beings (in their God-given freedom) prior to their actualization.
Does God know which individuals are going to hell? No, He doesn’t. Because neither God nor the individuals have determined that yet. Of course, if God predestines someone to hell only then He knows that information. But that would render God unjust, loveless, and evil which are against His nature. God doesn’t do anything against His own nature.
If God knows the future it implies that it is He who determined it that way. Therefore, according to any particular religion, if God knows which individuals are going to hell before they commit sins worthy of hell, then it is God who has determined that fate for those individuals. But such a god is hardly worthy to be called God for he is devoid of justice and love and becomes the embodiment of evil. Thankfully, such a god doesn’t exist. As far as the Bible is concerned it never attributes such ‘knowledge’ to God.
In conclusion, I can say that God doesn't create knowingly anyone whose fate is hell!