All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
The marriage is valid in all the four cases that you mentioned in the question if it fulfilled the conditions for a valid marriage which we have already highlighted in Fatwa 83629; so please refer to it. The most important of these conditions are the presence (or consent) of the guardian and the presence of two witnesses.
What we have stated about the validity of the marriage is based on the fact that the majority of the scholars are of the view that the person who abandons the prayer out of laziness does not go out of the fold of Islam, contrarily to the view of some scholars who rule such a person to be out of the fold of Islam.
We draw your attention that the matter of choosing the spouse should not be taken lightly and that one should take into consideration the religion and moral conduct of the future spouse, as advocated by Allah Who is All Wise.
For the wife, Abu Hurayrah narrated that the Prophet said: "A woman is married for four reasons: her wealth, her family lineage, her beauty and her religion. So choose the religious one." [Al-Bukhaari and Muslim]
As for the husband, Abu Hurayrah also narrated that the Prophet said: "If a man whose religion and moral conduct are pleasing to you proposes to you (to marry your daughter), then let him marry; otherwise there will be great mischief and corruption on earth." [At-Tirmithi]
We also draw your attention to be careful about neglecting the prayer, either by abandoning it totally or delaying it from its prescribed time without any legitimate excuse. The prayer is a matter of great importance as it is the second pillar of Islam. It is the link between the slave and his Lord, and it is the first thing among the slave's deeds for which he will be held accountable on the Day of resurrection; if it is good (performed on time with its conditions and pillars fulfilled), then he will succeed, otherwise he will be a loser. If a person loses his religion, then he has indeed lost everything. Allah Says (what means): {Say, "Indeed, the losers are the ones who will lose themselves and their families on the Day of Resurrection. Unquestionably, that is the manifest loss."} [Quran 39:15]
Allah knows best.