From Grimorium Verum, Joseph H. Peterson edition:
To extinguish a fire
Say the following:
"O great burning fire, I conjure you by the hand of the great living God to lose your heat, as Judas lost his color when he betrayed our Lord, on Good Friday, saying the name of the Father and the Son and the Holy Spirit."
Repeat three times, kicking the earth with your foot. This also works for a chimney fire.
The grimoire Grimorium Verum lists this spell.