wa alaykum as salam
Allah guides whomever He wills, subhan Allah
as far as i know, if you are listening to Adhaan (without using loudspeakers) of the mosque from your home, and you are able, you have to pray in jama'ah
otherwise it is not mandatory, based on the hadeeth of the blind man asking for the obligation of attending jama'ah , rasul Allah asked whether he can hear the adhaan or not? he replied yes. The rasul Allah salal Allahu alayhi sallam said: I dont see any reason not to attend the salah (not the exact wording of the hadeeth)
and also, abandoning any prayer without any reason makes one kafir, according Imam ahmad ibn hambal only, of the 4 Imams of the 4 schools of thoughts.
hope insha Allah it helps you
and if I am wrong please any brother or sister make me correct.
may Allah forgive me for my mistakes.
everything good is from Allah, and everything bad and incorrect is from my ignorance.
barakAllahu feek
wa alaykum salam