Q:

Was Dan born out of wedlock?

I've heard that Dan was born out of wedlock. Is this true? Could someone provide me with a source for this information?

A:

You're possibly referring to the Maharsha to Shabbos 55b.
To explain how Reuven didn't sin with Bilhah, he explains based on the gemarra in Yevamos that Avaraham's children couldn't marry a shifchah. Therefore, Yaakov freed Bilhah and Zilpah when he married them. The way he freed them was with biah, which simultaneously freed them and was mekadesh them. However, Reuven held that biah doesn't free a shifchah and therefore felt that his father was never married to her, since Kiddushin doesn't work with a shifchah1. This is why the children of Yaakov called the children of the shefachos slaves, since they follow the lineage of their slave mother. Therefore, according to Reuven, Dan was born out of wedlock (as well as Gad, Asher and Naftali).

1This is why Reuven moved Leah's bed and replaced Bilhah's. He felt Yaakov wasn't married to her, only Leah. Also according to his shita, in theory he could be with Bilhah, since she's not his father's wife. So the verse considers it as if he was with her. This also gives new meaning to what the gemarra says: כל האומר ראובן חטא אינו אלא טועה, whoever says Reuven sinned is mistaken. A new way to read it is: Whoever says Reuven sinned (is wrong since), Reuven made a mistake (in pesak). He held Bilhah wasn't married to Yaakov, but the verses tell us Yaakov was right.

A:

You are probably thinking of the son of an Egyptian man and an Israelite woman, who cursed God's name (Leviticus 24:10). His mother was Shlomit the daughter of Divri from the tribe of Dan (24:11). Rashi describes her as a prostitute, implying that her son was born out of wedlock with the Egyptian man. Rashi further says that the tribe of Dan was specifically mentioned here to teach that a wicked person brings shame to his entire tribe.
As hazoriz notes in his answer, Dan the son of Jacob was not born out of wedlock.

A:

From the simple reading of the Torah it seems that it was in wedlock 
Beraishis 30:3-6 or here

She said, “Here is my maid Bilhah. Consort with her, that she may bear on my knees and that through her I too may have children.” So she gave him her maidservant Bilhah for a wife, and Jacob cohabited with her. Bilhah conceived and bore Jacob a son. And Rachel said, “God has vindicated me; indeed, He has heeded my plea and given me a son.” Therefore she named him Dan.

(maybe what was meant was that his mother was a concubine (he was the first of Yakovs children born not from his first 2 wives))

