The spell you are looking for is this:
GROUNDSMOKE (Transmutation)
Level: Sor/wiz 0, Rgr 1, Drd 0
Components: V,S
Casting time: 1 standard action
Target: One fire no larger that 5ft2
Duration: 8 hours
Saving throw: None
Spell resistance: No
This spell prevents natural smoke from rising into the air. The smoke instead rolls out from the fire and dissipates into the ground about six inches from the source.
It was in some DRAGON magazine, but i do not recall which #...
However the above text is the exact copy. I 've copied it for i use it my games quite often...
Its perfect for camping in a cave for example...without choking to death from your own camp fire....(!!!!!)