How can I extend the page content for one line to not break the paragraph? (like \enlargethispage)

Hi, I am looking for a way to extend the content of my page for one line in order not to break the paragraph.
I have found somewhere online that the following can be used:

#pad(bottom: -1em)[paragraph]

I could not find the thread anymore, that is why I am asking again.

Unfortunately this does not work when there is a footnote on the page, as the last line of the paragraph then overlaps with that footnote.
Is there a command similar to LaTeXs \enlargethispage?