This story is from the 8th skanda of the bagavata Purana.