Good actions of a woman who travels without a mahram being affected
Q: There is a hadith about women travelling, Abu Hurairah (radhiyallahu anhu) reported: The Messenger of Allah (sallallahu alaihi wasallam) said,
"It is not permissible for a woman who believes in Allah and the last day to make a journey of one day and night unless she is accompanied by a mahram (husband or male relative whom she is prohibited to marry)." (Al Bukhari and Muslim)
According to the hadith, if a woman travels alone will her prayers not be accepted?