The Ghata Jataka, one of the Jataka Tales that form part of Buddhist scripture, recounts the life of Krishna in a way that mostly parallels conventional Hindu accounts, except for one notable incident that would be quite unfamiliar to most Hindus. It goes as follows: "one clearly beloved son" of Krishna dies, and as a result Krishna "half dead with grief, neglected everything, and lay lamenting, and clutching the frame of his bed." In response to this, Krishna's younger brother Ghatapandita starts wandering in the streets, raving like a madman about how he wants a rabbit from the moon. Krishna realizes that wanting someone who is born to never die is just as impossible a request as wanting a rabbit from the moon, so he is convinced to stop mourning the death of his son.
The conceit, of course, is that Ghatapandita is supposed to be Buddha's previous birth and Krishna is supposed to be the previous birth of Buddha's disciple Sariputta. But my question is, do any of the details of this story have a basis in Hindu scripture, for instance in the Srimad Bhagavatam (Bhagavata Purana)? Is there any younger brother of Krishna corresponding to Ghatapandita? (Krishna does bring the earlier babies of his mother Devaki back from the dead, so he would have had six physically "younger" brothers, but none of their names are close to Ghata.) Is there any story about Krishna losing a "beloved son" and mourning the loss? All of this seems quite out of character, so I'm somewhat skeptical.