The full story about Daniel's sojourn in Babylon can be found in the book of Daniel in the Old Testament.