It is forbidden in Islam to marry anyone (man or woman) without their will. There is no such thing as a sanctioned forced marriage. This has been mentioned repeatedly in various hadith:
Abu Huraira (Allah be pleased with him) reported Allah's Messenger
(may peace be upon him) as having said: "A woman without a husband (or
divorced or a widow) must not be married until she is consulted, and a
virgin must not be married until her permission is sought. They asked
the Prophet of Allah (may peace be upon him): How her (virgin's)
consent can be solicited? He (the Holy Prophet) said: That she keeps
silence. Sahih Muslim, The Book of Marriage (Kitab Al-Nikah), Book 008, Number 3303
Also, we don't have to wonder if a forced marriage is allowed or not:
Khansa Bint Khidam said “My father married me to his nephew, and I did
not like this match, so I complained to the Messenger of Allah (May
Allah bless him and grant him peace). He said to me “accept what your
father has arranged.” I said “I do not wish to accept what my father
has arranged.”
He said “then this marriage is invalid, go and marry whomever you
wish.” I said “I have accepted what my father has arranged, but I
wanted women to know that fathers have no right in their daughter’s
matters (i.e. they have no right to force a marriage on them). (Fathul
Bari Sharah Al Bukhari 9/194, Ibn Majah Kitabun Nikah 1/602)
Further, it is a condition of the nikah that there is free will and consent from all parties.
I believe what is meant in the hadith you have mentioned is guidance in choosing mates for their daughters. If you have to decide between someone, choose the person that is religious and pious versus someone that has wealth, beauty or other qualities. The same guidance has been given to men when choosing wives:
“A woman (or man) may be married for four things: for her wealth, for
her noble descent, for her beauty or for her religion. Choose the one
who is religious, lest your hands be rubbed with dust!” (Bukhari and
Muslim)
It is not implied in the hadith that ignore everything else about the match and simply marry the most religious man to your daughter against her will.
The Quran also states the same (as pointed out):
O ye who believe! Ye are forbidden to inherit women against their
will. Nor should ye treat them with harshness, that ye may Take away
part of the dower ye have given them,-except where they have been
guilty of open lewdness; on the contrary live with them on a footing
of kindness and equity. If ye take a dislike to them it may be that ye
dislike a thing, and Allah brings about through it a great deal of
good. 4:19
If you read the tafsir behind this ayat:
Narrated Abdullah ibn Abbas: "About the Qur'anic verse: 'It is not
lawful for you forcibly to inherit the woman (of your deceased
kinsmen), nor (that) ye should put constraint upon them.' When a man
died, his relatives had more right to his wife then her own guardian.
If any one of them wanted to marry her, he did so; or they married her
(to some other person), and if they did not want to marry her, they
did so. So this verse was revealed about the matter. (Translation of
Sunan Abu-Dawud, Marriage (Kitab Al-Nikah), Book 11, Number 2084)
It is clear that forced marriage is not allowed.
May Allah give her patience in this time and strength of will - and bless her parents with guidance.
Finally, she (not her parents) should do istikhara so that the confusion from her current state can be clarified by Allah.