Four hymns of Guru Nanak Dev Ji in the Guru Granth Sahib Ji describe Babur's invasion and the sack of Saidpur, now Eminabad in Gujranwala district. They are called the Babarvani.
The tradition holds that the Guru was present and was taken prisoner and put to work at a grinding mill.
The hymns do not celebrate anyone. They describe the killing, the burning, the women whose hair was cut and who had been living in comfort, and they ask God directly how this was permitted. Eti maar payi kurlane tain ki dard na aya, so much slaughter, so much crying out, did you feel no pain.
That is a religious text addressing God with an accusation about a specific historical atrocity, written by a witness, and it is in daily liturgical use.
There is very little else like it in the scriptures of any religion, and it is the earliest datable historical statement in Punjabi about an event in Punjab.
Four hymns are usually grouped under the name and they describe the sack of Saidpur: the killing, the women taken, the burnt houses, the ruin of a town.
They are the earliest eyewitness account in any Indian language of the Mughal invasions, written by somebody who was in the town while it happened.
They do not simply take a side. Babur is called the messenger of death, and the hymns also ask what the rulers had been doing that this came upon them, which is a harder thing to write than a lament.