"Småvers 16 (Ved ham, for hvem at stenen brast for graven)" [Danish title] is number 2355 in the Hans Christian Andersen Center's register of Andersen's literary works, i.e. no. 855 in the category poems (the range 1501 - 2900). BFN 1105.
"Småvers 16 (Ved ham, for hvem at stenen brast for graven)" [Danish title] was first published 1879. Further information: Digterens danske Værker 1822-1875 number 1105.
The work was published as a part of Samlede Skrifter af H. C. Andersen. - Tre og Tredivte Bind [Danish title]. (Number 1035. BFN 1079. Category/genre: Collected and miscellaneous writings).
In modern Danish on p. 630 in Johan de Mylius (editor): H.C. Andersen. Samlede digte ('Collected poems', Copenhagen, 2000).