All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
It is not an obligation to recite Chapter Yaaseen [Quran 36] near the person who is breathing his last, however, some jurists are of the view that this is desirable for the narration which reads “Recite (Chapter) Yaaseen on your dead people.” However, this is a weak narration and its chain is not authentic as stated by the scholars .
For more benefit, please refer to Fataawa 91437, 87405 and 84014.
Allaah Knows best.