One verse

Srimad Bhagavatam 4.6.3

4.6.3

उपलभ्य पुरैवैतद्भगवानब्जसम्भव: । नारायणश्च विश्वात्मा न कस्याध्वरमीयतु: ॥ ३ ॥

upalabhya puraivaitad bhagavan abja-sambhavah narayanas ca visvatma na kasyadhvaram iyatuh

upalabhya
knowing
pura
beforehand
eva
certainly
etat
all these events of Daksa’s sacrifice
bhagavan
the possessor of all opulences
abja-sambhavah
born from a lotus flower (Lord Brahma)
narayanah
Narayana
ca
and
visva-atma
the Supersoul of the entire universe
na
not
kasya
of Daksa
adhvaram
to the sacrifice
iyatuh
did go.

Both Lord Brahma and Visnu had already known that such events would occur in the sacrificial arena of Daksa, and knowing beforehand, they did not go to the sacrifice.