Amanda Bynes has been reunited with the dog she almost torched ... TMZ has learned.
You'll recall during Amanda's last flame out before being committed to a psychiatric hospital, she ignited a fire in a residential driveway in Thousand Oaks. Amanda was holding her Pomeranian -- Sherbert -- as she lit the fire, and the dog was doused in gasoline.
When Amanda was 5150'd, her parents took custody of the pooch.
We're told Amanda has been repeatedly asking for the dog during her confinement. On Thursday night, she got a 4-legged visitor, and it was no small feat. Her parents showed up with Sherbert after visiting hours, but doctors still allowed Amanda to spend 30-minutes with her doggie.
We're told the visit "thrilled" Amanda and brought her a lot of comfort.