Is there a source that says that at Matan torah the Bnei Yisrael would receive the written Torah but because they sinned with the golden calf they received the oral Torah as well?
Please feel free to edit if need be.
...הִתְחִיל מִצְטַעֵר עַל שִׁבּוּר הַלּוּחוֹת, וְאָמַר לוֹ הַקָּדוֹשׁ בָּרוּךְ הוּא אַל תִּצְטָעֵר בַּלּוּחוֹת הָרִאשׁוֹנוֹת, שֶׁלֹא הָיוּ אֶלָּא עֲשֶׂרֶת הַדִּבְּרוֹת לְבָד, וּבַלּוּחוֹת הַשְּׁנִיִּים אֲנִי נוֹתֵן לְךָ שֶׁיְהֵא בָהֶם הֲלָכוֹת מִדְרָשׁ וְאַגָּדוֹת, הֲדָא הוּא דִכְתִיב: וְיַגֶּד לְךָ תַּעֲלֻמוֹת חָכְמָה כִּי כִפְלַיִם לְתוּשִׁיָּה,
...He started feeling bad that he broke the tablets, G-d told him: Do not feel bad about the first tablets, for they only contained the ten commandments, however in the second tablets i will give you, that they will have Halcaha Midrash and Agadah, this is what is said: (Job 11): I will tell you hidden wisdom for it shall be double comforting
See here for an explanation from the Lubavitcher Rebbe why the first Luchos needed to be broken before the Oral Torah could be given.