He gave the Guru the only blanket he had, and himself, exposed under the leaking roof, prepared a frugal fare which he adoringly served to the holy guest and his Sikhs. Guru Arjan was very pleased and composed, extempore, the hymn beginning with the lines: “Handsome and prosperous is the thatched hut in which God`s praises are recited; useless, utterly useless are the mansions where He is not remembered.” (GG, 745). Bhai Hema was taken ill owing to sudden exposure in the cold night. Guru Arjan stayed with him during his sickness. But Hema did not survive and died, as had been his wish, in the Guru`s arms. The Guru himself performed the obsequies.
References :
1. Gurbilas Patshahi Chhevin. Patiala, 1970
2. Gian Singh, Giani, Twarikh Guru Khalsa [Reprint]. Patiala, 1970