According to the Bible in 1 Kings 3:5, the Lord appeared to Solomon in a dream at Gibeon. Therefore, the correct answer is "dream." In this dream, the Lord asked Solomon what he wanted and Solomon famously asked for wisdom, which pleased the Lord and resulted in Solomon receiving great wisdom and understanding.