How to Judge, a True Muslim.... ref to these Quran Verses.. Your confusion towards deciding who stands in Phase with Allah SWT. would be cleared to some extend. Allah SWT spell clearly who he loves.
In the Name of Allah, the Beneficent, the Merciful
Muhammad is the Messenger of Allah, and those with him are firm of heart against the unbelievers, compassionate among themselves; you will see them bowing down, prostrating themselves, seeking grace from Allah and pleasure; their marks are in their faces because of the effect of prostration; that is their description in the Taurat and their description in the Injeel; like as seed-produce that puts forth its sprout, then strengthens it, so it becomes stout and stands firmly on its stem, delighting the sowers that He may enrage the unbelievers on account of them; Allah has promised those among them who believe and do good, forgiveness and a great reward.
Quran 48:29
Now to see who stand correct in his deeds ..... ref to
When you ran off precipitately and did not wait for any one, and the Messenger was calling you from your rear, so He gave you another sorrow instead of (your) sorrow, so that you might not grieve at what had escaped you, nor (at) what befell you; and Allah is aware of what you do.
Qur'an 3:153
O you who believe! When you meet those who disbelieve marching for war, then turn not your backs to them. And whoever shall turn his back to them on that day-- unless he turn aside for the sake of fighting or withdraws to a company-- then he, indeed, becomes deserving of Allah's wrath, and his abode is hell; and an evil destination shall it be. Qur'an 8:15-16
Yusuf Ali
Assuredly Allah did help you in many battle-fields and on the day of Hunain: Behold! your great numbers elated you, but they availed you naught: the land, for all that it is wide, did constrain you, and ye turned back in retreat.
Quran 48:29