Slmz does a person get a jummuah Maut if he passes away 2 min before maghrib athaan.
Wa ʿAlaykumus Salām Wa Rahmatullāhi Wa Barakātuh
Each Islāmic day commences after the disc of the sun has disappeared below the Western horizon (i.e., after sunset). It should also be noted that the Adhān for maghrib is only called out after the sun has completely set.
Therefore, if a Muslim passed away on a Thursday evening after the sun has set, then In Shā Allāh he/she will be granted the virtues that are attached to such a demise.
You may also read the following: