Someone has asked this question regarding what he heard in a lecture:
Which Hadeeth states that a woman who does not wear hijab will have an odour that would kill the entire dunyaa if the odour was brought into the dunya while she is in jahannam?
All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
We have not come across the meaning which you mentioned in the question in any of the reliable books of Sunnah we have at hand. It might be that you are referring to the Hadeeth of Abu Moosa that the Prophet said: "Whoever dies while being an alcohol addict, Allaah will make him drink from the river of Al-Ghootah.” He was asked: “And what is the river of Al-Ghootah?” He replied: “It is a river that flows from the private parts of the prostitutes and the smell of their private parts harms the people of Hellfire.” [Ahmad]
However, that a woman is not wearing Hijab does not necessarily mean that she is an adulteress/fornicatress.
Allaah Knows best.
You can search for fatwa through many choices